Whether you spotted a strange number on a food package, need to do precise astronomical calculations, or are decoding a military MRE stamp, you’ve come to the right place. Use the Julian date calculator below to instantly convert any calendar date to a Julian Day Number and vice versa.
Julian Date Calculator
Convert between calendar dates & Julian Day Numbers · Astronomy & beyond
| Event / Epoch | Calendar Date | Julian Date (JD) |
|---|---|---|
| JD Origin (Noon) | Jan 1, 4713 BC (Julian) | 0.0 |
| MJD Origin | Nov 17, 1858 | 2,400,000.5 |
| Unix Epoch | Jan 1, 1970 (00:00 UTC) | 2,440,587.5 |
| J2000.0 | Jan 1.5, 2000 (TT) | 2,451,545.0 |
| GPS Epoch | Jan 6, 1980 | 2,444,244.5 |
| B1950.0 | Dec 31.923, 1949 | 2,433,282.423 |
| Gregorian Reform | Oct 15, 1582 | 2,299,161.0 |
| Moon Landing (Apollo 11) | Jul 20, 1969 | 2,440,423.5 |
| Scale | Formula |
|---|---|
| Modified Julian Date (MJD) | MJD = JD − 2,400,000.5 |
| Truncated Julian Date (TJD) | TJD = JD − 2,440,000.5 |
| Dublin Julian Day (DJD) | DJD = JD − 2,415,020 |
| J2000 offset (centuries) | T = (JD − 2,451,545) / 36,525 |
| Unix Timestamp | Unix = (JD − 2,440,587.5) × 86,400 |
| Lilian Day Number | LDN = JD − 2,299,160.5 |
What Is a Julian Date?
A Julian Date (JD) is a continuous count of days (and fractional days) elapsed since noon Universal Time on January 1, 4713 BC in the proleptic Julian calendar.
Rather than counting within months and years, which vary in length and have changed across history, the Julian Date system counts forward from a single fixed point in time, making it ideal for any calculation that spans long time periods.
Today’s Julian Day Number is displayed automatically in the julian date calculator above. It updates in real time.
One key detail: the Julian Day begins at noon UTC, not midnight. So a date like January 1, 2000, at midnight corresponds to JD 2,451,544.5, while noon on the same day is the more commonly cited JD 2,451,545.0.

How to Use This Julian Date Calculator
The tool includes four modes:
- Date → Julian: Enter any calendar date and optional UTC to get the Julian Day Number, MJD, Truncated JD, J2000.0 offset, Unix timestamp, and day of the week. Pre-filled with today’s date and current time automatically.
- Julian → Date: Enter any Julian Day Number to convert it back to a full calendar date and time, including ISO 8601 format.
- Date Difference: Enter two calendar dates to calculate the exact number of days between them, using Julian Day arithmetic for precision.
- Quick Reference: A reference table of important epochs, events, and derived time scale formulas.
Results can be copied to the clipboard with one click.
How to Read a Julian Date on Food Packaging
When you see a numeric code on a can, carton, or packaged good, it is almost certainly the ordinal Julian date format, not the astronomical JDN.
Here’s how to decode the most common formats:
YYDDD (5-Digit Format) – Most Common
The first two digits are the last two digits of the year; the final three digits are the day of the year.
| Code | Year | Day | Calendar Date |
|---|---|---|---|
| 26084 | 2026 | 084 | March 25, 2026 |
| 25001 | 2025 | 001 | January 1, 2025 |
| 24366 | 2024 | 366 | December 31, 2024 (leap year) |
YYYYDDD (7-Digit Format) – Pharmaceutical & Military
Used when long-term traceability is required. The first four digits are the full year; the last three are the day.
| Code | Calendar Date |
|---|---|
| 2026084 | March 25, 2026 |
| 2025365 | December 31, 2025 |
YDDD (4-Digit Format) – Military MREs
Used on US military Meals Ready-to-Eat (MRE). Only the last digit of the year is used, since MREs are not expected to last beyond 10 years.
| Code | Meaning |
|---|---|
| 6084 | Day 084 of a year ending in 6 (e.g., 2026) |
Important note: The Julian date on food packaging is a production date, not an expiration date.
How to Calculate a Julian Day Number
You don’t need to do this by hand; the Julian date calculator at the top handles it instantly.
But if you’re curious about the underlying algorithm, here is the standard formula for converting a Gregorian calendar date to a Julian Day Number, based on the method from Jean Meeus’s Astronomical Algorithms:
Step 1: Express your date as Year (Y), Month (M), Day (D).
Step 2: If M ≤ 2, set Y = Y − 1 and M = M + 12.
Step 3: Calculate A = floor(Y / 100) and B = 2 − A + floor(A / 4).
Step 4: JD = floor(365.25 × (Y + 4716)) + floor(30.6001 × (M + 1)) + D + B − 1524.5
For a Julian calendar date (historical, before October 15, 1582), the same formula applies but with B = 0.
Example: January 1, 2000 at noon UT
→ JD = 2,451,545.0 (the J2000.0 epoch)
Key Julian Date Epochs & Reference Points
These are the most important fixed points in the Julian Date system, used across astronomy, computing, and space science:
| Epoch / Event | Calendar Date | Julian Date (JD) |
|---|---|---|
| JD Origin (noon) | Jan 1, 4713 BC (Julian) | 0.0 |
| Modified Julian Date origin | Nov 17, 1858 | 2,400,000.5 |
| Unix Epoch (00:00 UTC) | Jan 1, 1970 | 2,440,587.5 |
| J2000.0 (standard reference) | Jan 1.5, 2000 TT | 2,451,545.0 |
| GPS Epoch | Jan 6, 1980 | 2,444,244.5 |
| Gregorian calendar reform | Oct 15, 1582 | 2,299,161.0 |
| Apollo 11 Moon Landing | Jul 20, 1969 | 2,440,423.5 |
Modified Julian Date (MJD) Explained
The Modified Julian Date (MJD) was introduced by the Smithsonian Astrophysical Observatory in 1957 to track Sputnik’s orbit.
Because full Julian Day Numbers had grown into the 2.4 million range by the mid-20th century, scientists wanted a shorter number that was easier to work with in computations and data storage.
Formula: MJD = JD − 2,400,000.5
Two things have changed compared to the standard JD:
- The number is roughly 2.4 million smaller (today’s MJD is around 60,000)
- The day starts at midnight UTC rather than noon, making it more intuitive for modern use
MJD is widely used in satellite tracking, geodesy, and time standard agencies such as the International Earth Rotation and Reference Systems Service (IERS).
Other Derived Time Scales
| Scale | Formula | Notes |
|---|---|---|
| Modified Julian Date (MJD) | JD − 2,400,000.5 | Day starts at midnight; widely used in space science |
| Truncated Julian Date (TJD) | JD − 2,440,000.5 | NASA-originated format |
| Dublin Julian Day (DJD) | JD − 2,415,020 | Used in older astronomical software |
| J2000.0 Offset | (JD − 2,451,545) / 36,525 | Julian centuries from J2000; used in coordinate transforms |
| Unix Timestamp | (JD − 2,440,587.5) × 86,400 | Seconds since Jan 1, 1970 |
| Lilian Day Number | JD − 2,299,160.5 | Counts days since Gregorian calendar reform |
The Julian Calendar vs. Julian Dates: Clearing Up the Confusion
These are two entirely separate things that share a name and the confusion is extremely common.
Key differences at a glance:
| Julian Calendar | Julian Day Number | |
|---|---|---|
| Introduced by | Julius Caesar, 46 BC | Joseph Scaliger, 1583 |
| What it is | A solar calendar system | A continuous day count |
| Used for | Organising days, months, years | Time-interval calculations |
| Still used | Eastern Orthodox Church, some historical research | Astronomy, science, computing |
| Leap year rule | Every 4 years, no exceptions | Not applicable |
Frequently Asked Questions
1. What is today’s Julian date?
Today’s Julian Day Number is calculated and displayed automatically in the Julian date calculator at the top. The number updates in real time based on the current UTC date and time.
2. What is the difference between Julian Date and Modified Julian Date?
The Modified Julian Date (MJD) equals the Julian Date minus 2,400,000.5. The MJD starts at midnight UTC rather than noon, and produces smaller, more convenient numbers for modern scientific work.
3. What calendar should I use for historical dates?
Use the Julian calendar option in the calculator for dates before October 15, 1582, and the Gregorian calendar for dates on or after that date. This follows the standard convention used in astronomy and historical research.
4. What is J2000.0?
J2000.0 is the standard astronomical epoch equal to Julian Date 2,451,545.0, corresponding to January 1, 2000 at 12:00 Terrestrial Time. It is used as the reference point for modern star catalogues, coordinate systems, and planetary ephemerides.
5. Can Julian’s dates be negative?
Yes. Dates before the Julian Day epoch (noon, January 1, 4713 BC) would technically be negative, but in practice the epoch was chosen specifically so that all historically recorded astronomical observations have a positive JD value.
Final Words!
Use the Julian date calculator/converter to get accurate results.
Calculations use the algorithm from Jean Meeus, Astronomical Algorithms (2nd ed.), Chapter 7. The Gregorian calendar reform date of October 15, 1582 (JD 2,299,161) is used as the cutoff between calendar systems.