Reference · Product codes

How to Read Julian Date Codes on Food and Other Products

Many manufacturers stamp the production date as a Julian date: the day of the year, from 001 to 366, with part of the year in front. Here is how to find it in a lot code, decode it, and tell what kind of date it is, product by product.

Today’s Julian date codes

DDD
321
YDDD
6321
YYDDD
26321
YYYYDDD
2026321

For Tuesday, November 17, 2026 (UTC). The 4-digit YDDD code is the last digit of 2026 followed by 321.

How to read a Julian date code in four steps

  1. Find the code. Look on the can end or bottom, the bottle neck or shoulder, the crimp of a tube, the bottom of a box, or beside the barcode. It is often printed by inkjet or laser, sometimes embossed.
  2. Separate the date from the rest. Lot codes mix the date with letters or digits for the plant, line, shift and time. Look for a run of 3 to 7 digits whose last three are 001–366.
  3. Decode it. The last three digits are the day of the year; the digits before them are the year (formats below). Enter the code in the Julian date converter or count from the day-of-year chart.
  4. Decide what the date means. A Julian code is almost always the production or pack date. Add the product’s shelf life to estimate when it is best used by.

Example: a lot code taken apart

Layouts differ by manufacturer, but a typical inkjet line on a can might read:

L2 6202 A 14:32

L2      production line 2
6202    Julian date: year ending in 6, day 202  ->  July 21, 2026
A       shift or plant
14:32   time of production

Only the date part can be decoded without the maker’s key. If a customer service line is printed on the package, the manufacturer can read the rest of the lot code for you.

Common formats

FormatJuly 21, 2026MeaningOften seen on
DDD202Day of year; the year is printed elsewhere or impliedEgg cartons, some cans
YDDD6202Last digit of the year + day of yearMREs, military documents, many food plants
YYDDD26202Two-digit year + day of yearCans, beverages, calibration labels
YYYYDDD2026202Full year + day of yearPharma and lab records, ERP exports

With a one- or two-digit year, assume the most recent matching year that is not in the future: in 2026, 9100 means April 10, 2019, not 2029. Remember that in a leap year (2024, 2028) every day from 060 on falls one calendar day earlier. Full worked examples of each format are on the Julian date examples page.

Canned and packaged food

Federal rules in the US do not require dates on food, except on infant formula. Shelf-stable foods such as cans and boxes usually carry a closed or coded date: a packing code for the manufacturer’s own use, which often includes a Julian date. A best-by or use-by date, when there is one, is printed separately in plain language.

  • Cans: on the top or bottom end. A code such as 6202 or 26202 beside letters is the production date.
  • Boxes and bags: on an end flap, the bottom or near the seam.
  • Eggs: the 3-digit pack date has its own rules; see the egg carton decoder.

Source: USDA FSIS, Food Product Dating.

Beer, wine and soft drinks

Brewers and bottlers often print the packaging date as a Julian code on the can bottom, the bottle neck or the carton, sometimes alongside a plain best-by date. For beer, freshness is mostly about the packaging date, so decoding it tells you how old the beer is. Each brewery has its own layout; many print the line and time next to the date.

Cosmetics and personal care

US law does not require expiration dates on cosmetics. Batch codes on tubes and bottles are set by each brand: some contain a Julian date, many use their own letter-and-digit scheme. In the European Union, products that keep for 30 months or less must show a best-before date, and longer-lasting products show the period after opening symbol, an open jar marked 6M or 12M (months of use after opening). Sunscreen is regulated as a drug in the US and carries an expiration date.

Medicines and supplements

Prescription and over-the-counter drugs sold in the US must show an expiration date and a lot number. Use the printed EXP date. A Julian date inside the lot number is the manufacturer’s production record, not a guide to when to stop using the product. Dietary supplements are not required to carry an expiration date, so some show only a lot code.

Batteries

Most consumer batteries print a plain “best before” month and year. Some manufacturers also print a date code, and car and industrial batteries often use a maker-specific code or a sticker with the month and year of manufacture. Check the manufacturer’s guide rather than assuming a Julian date.

Tires: not a Julian date

Tire DOT codes are week and year

The last four digits of a tire’s DOT code are the week and year of manufacture (WWYY): 2419 is week 24 of 2019, in June. Tires made before 2000 used three digits. Reading a tire code as a Julian date gives a wrong answer.

Calibration, inspection and lab labels

Calibration stickers, inspection tags and laboratory records often use YYDDD or YYYYDDD: 26035 is February 4, 2026. The label normally says whether the date is when the item was calibrated or when the next calibration is due.

Military Julian dates

The US military writes dates as a Julian date in two places most people meet:

  • Rations. MREs carry a 4-digit YDDD date of pack, such as 6202 for July 21, 2026. Decode it with the MRE date code decoder.
  • Supply documents. A MILSTRIP requisition document number is 14 characters: the 6-character DoDAAC of the requester, a 4-digit ordinal date (YDDD) and a 4-character serial number. The date is the day the requisition was prepared.

Military and government forms also use YYDDD, so “today’s military Julian date” is either the 4-digit or the 5-digit code shown at the top of this page, depending on the form.

Codes that look like Julian dates but are not

  • Tire DOT codes: week and year, as above.
  • MMDDYY or DDMMYY: six digits such as 072126 are usually a month-day-year date (July 21, 2026), not a Julian one. If the digits only make sense as a month and day, it is not Julian.
  • Week codes: electronics often print YYWW (2629 for week 29 of 2026).
  • JD Edwards dates: six digits such as 126202 in ERP exports are CYYDDD; use the JDE converter.

Related

Frequently asked questions

What is a Julian date code?

It is a production or pack date written as the day of the year (001 to 366), usually with all or part of the year in front: 26202 means 2026, day 202, which is July 21. Manufacturers use it because it is short and the same in every language. It usually records when the product was made or packed, not when it expires.

How do I read a Julian date code on food?

Find the group of 3 to 7 digits in the lot code, ignoring letters for the plant or production line. The last three digits are the day of the year and the digit or digits before them are the year: 6045 is February 14, 2026; 26045 is the same day. If you only find three digits, the year is printed elsewhere or is the current year.

Is a Julian date the expiration date?

Usually not. On food, beer and cosmetics a Julian code almost always marks the production or pack date. An expiration, best-by or use-by date is normally printed in plain language. Shelf life is the manufacturer's figure counted from the production date.

What is a lot code?

A lot code (or batch code) identifies a production run so a manufacturer can trace and recall it. It often contains a Julian date plus letters or digits for the plant, line, shift or time, for example L6202A2. Only the date part can be decoded without the maker's key.

Is the date on a tire a Julian date?

No. The last four digits of a tire's DOT code are the week and year of manufacture: 2419 means week 24 of 2019. Treating it as a Julian date gives the wrong answer.

What is today's Julian date for a lot code?

Today's codes are shown at the top of this page in the 3-, 4-, 5- and 7-digit forms, and update every day. The 4-digit form is the last digit of the year followed by the day of year.