Day-of-Year Numbers and Ordinal Dates: How to Read and Convert Julian-Style Date Codes

October 21, 2026

An ordinal date identifies a day by its position in the year, from 1 (January 1) to 365 or 366 (December 31). October 22, 2026 is day 295 of 2026, written 2026-295 in the ISO 8601 ordinal format. Day numbers appear on manufacturing labels, food packaging, military and aviation records, scientific data, and software logs, because they make it easy to compute elapsed time: subtract one day number from another.

Many people call these 'Julian dates', but the term is confusing. A true Julian Day Number is a continuous count of days since 4713 BC used by astronomers. The ordinal 'Julian date' of industrial labels is just the day of the year.

Skip the math and get your answer instantly:

Open the Date Calculator →

Cumulative Days Table

To convert a calendar date to a day number, add the days in all previous months, then the day of the month. In a common year, the cumulative days at the end of each month are: January 31, February 59, March 90, April 120, May 151, June 181, July 212, August 243, September 273, October 304, November 334, December 365. In a leap year, add 1 for all dates after February 28. So October 22, 2026 (a common year) is 273 + 22 = 295. March 1, 2026 is day 60; in a leap year like 2028, March 1 is day 61.

MonthDays in monthDays before month (common year)Days before month (leap year)
January3100
February28/293131
March315960
April309091
May31120121
June30151152
July31181182
August31212213
September30243244
October31273274
November30304305
December31334335

Converting Back From a Day Number

To convert day 200 of 2026 to a date, find the last month whose cumulative total is less than 200: June ends on day 181, so day 200 is July 19 (200 − 181). Day 300 of 2026: September ends on day 273, so day 300 is October 27. In leap years, subtract the extra day for dates after February. Spreadsheet formulas like =DATE(2026,1,1)+199 give July 19 (day 200 = January 1 plus 199 days).

For elapsed days, subtract: from day 295 to day 365 is 70 days remaining in 2026.

Reading Date Codes on Products

Manufacturers often stamp codes such as 26295 or 6295 for production date: the last digit or two digits of the year followed by the three-digit day number. A can marked 26295 was produced on day 295 of 2026, October 22. Some use the format YYDDD or YYYYDDD. Others use letters for months. Always check the manufacturer's key, because formats vary. Best-before dates are usually printed in ordinary calendar format. In the case of recalls, lot codes with day numbers help trace the production run.

True Julian Dates and Other Systems

The Julian Day Number (JDN) counts days from noon on January 1, 4713 BC in the proleptic Julian calendar. For example, JDN 2,461,336 corresponds to October 22, 2026 (counting from noon). Astronomers use it to compute intervals across centuries without calendar complications. Programmers also use Unix time (seconds since January 1, 1970) and Excel serial dates (days since January 1, 1900, with a famous leap-year bug that treats 1900 as a leap year). Each system has an epoch and a unit.

Practical Uses

Ordinal dates simplify data processing: sorting, grouping by day of year, comparing seasons across years, and computing intervals. Project managers may track 'day of year' for schedules, and gardeners use day numbers to compare planting dates between years. In leap years, remember that the same calendar date has a day number one higher after February.

Frequently Asked Questions

What day of the year is October 22, 2026?

Day 295.

What is an ordinal date?

A date written as the year and day number, such as 2026-295.

Is a Julian date the same as the day of the year?

In industry, often yes. In astronomy, a Julian Day Number is a continuous count of days since 4713 BC.

How do leap years affect day numbers?

Dates after February 28 have a day number one higher in leap years.

How do I convert day 200 to a date?

Subtract cumulative month totals: day 200 of a common year is July 19.