I've seen food expire before the date stated, so you should also take into account where you live and the regulatory entities that manage your food and stuff.
Leave your beef out on the counter for a day and I assure you, the expiration date will be useless.
Expiration dates are 99/100 times a baseline for guessing if an item is safe to consume. If you’re not using your brain and actually checking, you’re gonna have a bad time.
You don't even have to leave it on the counter sometimes. I had a steak a bit ago in the freezer, thawed it, smell test, it had gone bad. Best guess is some point in the store or transit it got stored improperly and it was bad before it got to my freezer. Always check even if in the expiration date food poisoning is awful
Is milk an exception? Because the moo juice always smells a little off to me. I usually have to resort to the take a small swig and pray technique to tell.
Hard to do a sniff test on an unopened item in the store. I know that's not this exact scenario, and best by dates are iffy at best, but I'd like to have some notion of how long the product I'm about to buy has been around.
At the homebrewing store I used to frequent, I always picked through the cooler for the youngest yeast. Then they moved the cooler behind the cash registers and they clerks would just grab the one in the front. Then stupid Northern Brewer shut down all their retail stores.