(The confusion arises because shoppers often throw out items based on their sell-by or display date, but this date is only used by the sellers for stock control, and doesn't actually mean the product is unfit for consumption.
The expiration date, or use by date is the one that relates to food safety. For food items, maybe it should be called an "eat by" date.)