Packaged food often has a date on it somewhere, and there are two reasons it can be hard to find. The first is that almost none of it is required. FDA says that "except for infant formula, manufacturers are not required by Federal law or regulation to place quality-based date labels on packaged food", and that there are "no uniform or universally accepted descriptions" for the dates that are printed. So each maker decides whether to date a product, what to call the date, and where to put it. The second reason is that many products carry a code and not a calendar date: a string like 26322, which is a production date written as the year and the day of the year. Below is where to look, what the phrases mean, how to read the common code, and a decoder. It's written for someone receiving or stocking products, and for a maker deciding what to print.
The short version
- Look on the lid, the bottom, the shoulder, the crimp or the back seam.
- "Best if Used By" is about quality. FDA supports it as the standard phrase.
- Sell By, Best By, Use By and Expires on are the maker's own choice of words.
- Federal law requires a date only on infant formula. States may add their own rules.
- A five-digit code like 26322 is often the year and the day of the year: November 18, 2026.
- That code is usually the day it was made, not the day it expires.
- TaroStack keeps each lot's date and warns before it arrives. More below.
Where to look
There's no rule about where a date goes, so these are places to check, not promises.
| Package | Places to check |
|---|---|
| Cans | The lid or the bottom, stamped or inked |
| Jars and bottles | The lid, the shoulder, or the edge of the label |
| Bags and pouches | The back seam, or near the top seal |
| Boxes and cartons | The top or bottom flap |
| Tubes | The crimp at the end |
| Cases | The case label, beside the lot code |
If a product has a printed lot code and no date, the code is your only handle on its age. Finding and reading those is in how to read lot codes on food.
What the words mean
From FDA's page on date labels and food waste:
| What FDA says | In its words |
|---|---|
| Are dates required? | "Except for infant formula, manufacturers are not required by Federal law or regulation to place quality-based date labels on packaged food" |
| Who decides? | "Manufacturers apply date labels at their own discretion" |
| Is the wording standard? | "There are no uniform or universally accepted descriptions used on food labels for open dating" |
| What does FDA prefer? | "Best if Used By", to indicate "the date when a product will be at its best flavor and quality" |
| What else might you see? | "Sell By, Best By, Expires on, etc." |
So a "Best By" date is the maker's estimate of quality, not a safety cutoff set by a regulator. FDA's advice to shoppers is to examine food past its date for signs of spoilage. Infant formula is the exception: its "Use by" date is required by 21 CFR 107.20. Some states have their own dating laws for particular foods: see sell by date law. Whether old stock can be sold is in is it illegal to sell expired food.
Does the date include the day? A date printed as "Best By Nov 18 2026" names its day. One printed as month and year, "11/2026", doesn't say which day of the month, and FDA's page doesn't settle it. If it matters for your stock, ask the maker, and treat the first of the month as the cautious reading.
Reading a Julian date code
A common production code is the year followed by the day of the year, counted from 1 on January 1.
| Code | Year | Day of year | Date |
|---|---|---|---|
| 26322 | 2026 | 322 | November 18, 2026 |
| 26001 | 2026 | 1 | January 1, 2026 |
| 25365 | 2025 | 365 | December 31, 2025 |
To work one out by hand, count the days: January has 31, so day 32 is February 1. Day 322 of 2026 is November 18. In a leap year, each day number after February 28 lands one calendar day earlier: day 61 is March 1, not March 2.
Three cautions:
- Makers choose their own format. Some use one digit for the year (6322), some add a plant or line number, some print the day first. If a code doesn't fit, ask the maker.
- It's usually the day of manufacture. The expiry is that date plus the product's shelf life, which only the maker knows.
- A code isn't a promise. It tells you how old the product is. What that means for quality is the maker's call.
The format in full is in julian date code format.
How makers decide the date
FDA's page says the most common reason a maker dates a product is "to inform consumers and retailers of the date to which they can expect the food to retain its desired quality and flavor." How a maker works that date out, by testing the product over time, is in shelf life testing. If you make food and are deciding what to print and where, see how to put expiration dates on food and best by date format.
Get the decoder
Download the date code decoder. One sheet and a read-me: type a five-digit code and it shows the year, the day of the year and the calendar date. It's an ordinary Excel file with no macros, and it works in Google Sheets, LibreOffice and Numbers.
Where this stops working
Reading one date is easy. Reading every date on every delivery, and remembering them, isn't. The can stamped 26322 goes on the shelf behind forty others. Six months on, nobody decodes lids during a count. The dates were all there. They were never written down in a place that could warn anyone.
How TaroStack does it
TaroStack records the date once, when the stock arrives.
Receiving records each delivery's lot and date. Scanning a supplier's GS1-128 case label fills in the lot and the use-by date.
Expiry alerts come before a date arrives.
Stock goes out first-expired-first-out by default, so the oldest lot is what gets picked.
A customer can carry a days-of-shelf-life rule: the least life its stock must have left.
Lot labels you print carry the lot and the use-by date, in a GS1-128 barcode when the item has a GTIN.
| The job | Reading packages | In TaroStack |
|---|---|---|
| What expires this month | Check every shelf | A list, and an alert |
| Which lot to use first | Read the lids | First-expired-first-out |
| A date in a code | Decode it each time | Typed or scanned once, at receiving |
| Stock too short-dated for a customer | Found at delivery | That customer's rule |
TaroStack doesn't decode a supplier's private date code, and it doesn't decide a product's shelf life. Lots, dates and alerts are on every plan, from $9.99 a month. The first 14 days are free, with no credit card. If you'd like a hand setting up, ask, and we'll do it with you.
