Reference
What Is a Julian Date?
“Julian date” means two different things depending on who is using it. This page explains both, shows how to read one, and lists the mistakes that most often lead to a wrong date.
The short answer
In industry and IT, a Julian date is the year plus the day of the year: 2026339 means 2026, day 339, which is today.
In astronomy, the Julian Date is a continuous count of days since noon UT on January 1, 4713 BC, right now about 2,461,379.
They share a name, and both count days, but they are otherwise unrelated.
1. The day-of-year Julian date (industry and IT)
This is the one most people mean. It is the ordinal day of the year, a number from 1 to
365 (366 in a leap year), usually written as three digits with the year in front. January 1 is
001, February 1 is 032 and December 31 is 365 or 366.
The international standard ISO 8601 calls it the ordinal date; on the shop floor and in
software it is called a Julian date.
The same day, July 21, 2026 (day 202), in each common layout:
| Format | July 21, 2026 | Typical use |
|---|---|---|
| YYYYDDD | 2026202 | Databases, batch records, data file names |
| YYDDD | 26202 | Packaging lot codes, IBM mainframes |
| YYYY-DDD | 2026-202 | ISO 8601 ordinal date |
| DDD | 202 | Egg cartons (USDA pack date), GPS data |
| YDDD | 6202 | MRE cases, military requisition numbers |
| CYYDDD | 126202 | Oracle JD Edwards (C = centuries after 1900) |
It is popular because it is short, fixed-width and sorts in date order, and because the gap between two dates in the same year is a simple subtraction: day 202 minus day 150 is 52 days. The drawback is that nobody can read it at a glance, which is why lookup tables and decoders exist.
How to read a Julian date, step by step
- Take the last three digits as the day of the year. In
26202that is202. - Read the digits in front as the year. Four digits are the full year; two digits are
almost always 20xx for current products (
26= 2026); one digit is the last digit of the year, which you have to place from context, usually the most recent such year. - Turn the day number into a date. Add up month lengths until you pass it, or use the day-number table. Day 202: January to June hold 181 days in a common year, so day 202 is the 21st day of July.
- Check for a leap year. In a leap year February has 29 days, so every date from March 1 on is one day number higher. Day 202 of 2024 was July 20, not July 21.
Worked examples
| Code | Breakdown | Date |
|---|---|---|
| 2026202 | 2026, day 202 | July 21, 2026 |
| 24060 | 2024 (leap), day 60 | February 29, 2024 |
| 26060 | 2026 (common), day 60 | March 1, 2026 |
| 6202 | year ending in 6, day 202 | July 21, 2026 (but July 20, 2016) |
| 99365 | JD Edwards: century 0 dropped, 99, day 365 | December 31, 1999 |
More cases, including codes buried in lot numbers, are on the Julian date examples page.
2. The astronomical Julian Date (science)
The astronomical Julian Date (JD) is a single running count of days that never restarts. It counts from 12:00 Universal Time on January 1, 4713 BC in the proleptic Julian calendar, so any instant is one number, with the time of day as a decimal fraction.
- JD 2451545.0 is noon UT on January 1, 2000, the reference epoch astronomers call J2000.0. Midnight at the start of that day is 2451544.5.
- The Julian Day Number (JDN) is the whole-number part for a date, its JD at noon: January 1, 2026 is JDN 2461042.
- Intervals are subtractions: 2461042 − 2451545 = 9,497 days from January 1, 2000 to January 1, 2026.
The day starts at noon because astronomers observed at night: with a noon boundary, one night's observations in Europe all carry the same day number. The Modified Julian Date (MJD) = JD − 2,400,000.5 moves the start to midnight and drops the leading digits; it is common in satellite tracking and geodesy. See the Julian Day reference and the MJD page for the whole family.
The two side by side
| Day-of-year Julian date | Astronomical Julian Date | |
|---|---|---|
| Today | 2026339 or 26339 | about 2,461,379 |
| Counts from | January 1 of each year | Noon UT, January 1, 4713 BC |
| Restarts | Every January 1 | Never |
| Changes at | Midnight, in the system's time zone | Noon UTC |
| Time of day | Not included | Decimal fraction (.5 = midnight UTC) |
| Length | 3 to 7 digits | 7 digits plus decimals |
| Standard name | Ordinal date (ISO 8601) | Julian Date / Julian Day |
| Used by | Food, military, manufacturing, mainframes, ERP | Astronomy, space science, software date libraries |
Where does the name come from?
The astronomical system goes back to 1583, when the scholar Joseph Scaliger defined a 7,980-year “Julian Period” whose year 1 is 4713 BC, the last year in which three calendar cycles (the 28-year solar cycle, the 19-year lunar cycle and the 15-year indiction) all began together. The period is named after the Julian calendar its years are counted in. In 1849 the astronomer John Herschel turned it into a running count of days, which became the Julian Day.
The day-of-year meaning came much later, in business computing and manufacturing, borrowing the name of the astronomers' day count. The Julian calendar itself, the leap-year calendar Julius Caesar introduced in 45 BC, is a third thing again. All three are still in use.
Common mistakes
- Confusing it with the Julian calendar. A “Julian calendar date” is a date in Caesar's calendar, which now runs 13 days behind the Gregorian calendar. It has nothing to do with day-of-year codes.
- Counting from zero. January 1 is day 001. Some programming interfaces (C's
tm_yday) start at 0, which makes every code one day early. - Ignoring leap years. From March 1 on, the same day number is one calendar day earlier in a leap year. Decode a code with its own year, not this year.
- Guessing the century.
26202could be 1926 or 2026. Software uses a pivot year; records you create should use the 7-digit form. - Mixing time zones. A system that logs in UTC changes to the next day's code hours before (or after) local midnight.
- Mixing JD and MJD. They differ by 2,400,000.5, and the .5 matters: MJD starts at midnight, JD at noon.
Which one do you have? A quick test
| If the number… | It's probably… |
|---|---|
| has 3–7 digits and ends in 001–366 (e.g. 2026339) | a day-of-year Julian date |
| is around 2.46 million, often with a decimal (e.g. 2,461,379) | an astronomical Julian Date |
| is around 61,000 with a decimal | a Modified Julian Date (MJD) |
| is 6 digits starting with 1 (e.g. 126339) | a JD Edwards CYYDDD date |
| came from a product label or business system | a day-of-year Julian date |
| came from an observatory, satellite or ephemeris | an astronomical JD or MJD |
Convert whichever you have
- Today's Julian date in every format.
- Julian date lookup: day number to date, any date from 2024 to 2029.
- Julian date converter: every format, both directions.
- Astronomical JD / MJD converter, with time of day.
- Glossary: every related term defined.
Frequently asked questions
What is a Julian date?
In business, manufacturing and IT, a Julian date is a date written as the year and the day of the year, for example 2026202 or 26202 for July 21, 2026 (day 202). In astronomy, the Julian Date is a continuous count of days since noon Universal Time on January 1, 4713 BC, now about 2.46 million. Which one is meant depends on where the number came from.
Why does "Julian date" mean two different things?
The astronomical meaning came first. In 1583 Joseph Scaliger defined the 7,980-year Julian Period, and in 1849 the astronomer John Herschel used it as the basis of a continuous day count, the Julian Day, which astronomers still use. Later, programmers and manufacturers borrowed the name for the day-of-year count, which is also a count of days, though it restarts every January. The standards name for that format is the ordinal date (ISO 8601), but "Julian date" is what most people call it.
How do I read a Julian date on a product or package?
Most packaged-goods codes use the day-of-year format. The last three digits are the day of the year, and the digits in front are the year: 26202 is 2026, day 202, which is July 21. A 4-digit code is usually one year digit plus the day (6202 is day 202 of a year ending in 6), and a 3-digit code is the day alone. Codes are often embedded among plant and line numbers, so look for a 3-digit group between 001 and 366.
Is the Julian date the same as the Julian calendar?
No. The Julian calendar is the calendar Julius Caesar introduced in 45 BC, which the Gregorian calendar replaced from 1582 onward. It is still 13 days behind the Gregorian calendar and is used by some Orthodox churches. The astronomical Julian Date is a day count whose starting point happens to be defined in that calendar, and the day-of-year Julian date has nothing to do with it at all.
What is the Modified Julian Date (MJD)?
The Modified Julian Date is the astronomical Julian Date minus 2,400,000.5. The half-day shift makes the MJD start at midnight instead of noon, and the smaller number is easier to store. MJD 0 is midnight UTC at the start of November 17, 1858. It is widely used in satellite tracking, geodesy and computing.
Does the Julian date change at midnight or noon?
The day-of-year Julian date changes at midnight, like any calendar date, in whatever time zone the system uses. The astronomical Julian Date increases by a whole number at 12:00 noon Universal Time, so at midnight UTC its fractional part is .5.