Julian Date Converter
Convert any calendar date to an Astronomical Julian Day Number (JD), Modified Julian Date (MJD), or Ordinal Julian date (YYDDD, YYYYDDD, and JD Edwards CYYDDD) and convert Julian dates back to standard Gregorian dates in one click.
Date & Julian Day Converter
Calendar Date & UTC Time
Midnight UTC (00:00:00) produces a .5 Julian Day; Noon UTC (12:00:00) produces an integer Julian Day.
Primary Output Format
Quick Presets
Julian Date Input
Enter a numeric Astronomical Julian Day, with optional decimals for UTC time.
Sample Julian Values
Astronomical Julian Day (JD)
2461371.50000
Friday, November 27, 2026 — 00:00:00 UTC
Excel Formulas for Cell A1
=YEAR(A1)&TEXT(A1-DATE(YEAR(A1),1,0),"000")
=DATE(LEFT(A1,4),1,0)+RIGHT(A1,3)
=DATE(2000+LEFT(A1,2),1,0)+RIGHT(A1,3)
=A1-2415018.5
How the Julian Date Converter Works
The phrase Julian date is used in two distinct ways across science, software, and supply-chain industries. Astronomers and space agencies use the continuous Astronomical Julian Day Number (JD), whereas manufacturers, food processors, military logistics teams, and spreadsheet users typically mean an Ordinal Date formatted as YYDDD or YYYYDDD. This converter computes every major standard simultaneously from a single source of truth so you never have to guess which convention a system expects.
Supported Julian Date Standards & Formulas
1. Astronomical Julian Day (JD) and Julian Day Number (JDN)
Introduced by Joseph Scaliger in 1583, the Astronomical Julian Day is a continuous count of days elapsed since noon Universal Time (12:00:00 UTC) on January 1, 4713 BCE in the proleptic Julian calendar. Because it never resets at month or year boundaries, subtracting two Julian Days immediately yields the exact elapsed interval in days.
y = Y + 4800 - a
m = M + 12 * a - 3
JDN = D + floor((153 * m + 2) / 5) + 365 * y + floor(y / 4) - floor(y / 100) + floor(y / 400) - 32045
JD = JDN + (Hour - 12) / 24 + Minute / 1440 + Second / 86400
To convert an Astronomical Julian Day back to a Gregorian calendar date, the tool runs the inverse Richards/Meeus algorithm on floor(JD + 0.5) for the calendar date and converts the remaining decimal fraction into UTC hours, minutes, and seconds.
2. Modified Julian Date (MJD)
Space agencies, satellite operators, and geodesists frequently shorten the 7-digit JD into the Modified Julian Date, which shifts the epoch to midnight UTC on November 17, 1858:
3. Ordinal Julian Dates (YYDDD and YYYYDDD)
In manufacturing lot codes, food expiration stamps, military MRE packaging, and ISO 8601 ordinal notation, a Julian date combines the year with the zero-padded day of the year (001 for January 1 through 365 for December 31, or 366 in a leap year).
- 5-Digit Ordinal (YYDDD): Uses the last two digits of the year plus the 3-digit day of year. For example, November 27, 2026 is
26331. - 7-Digit Ordinal (YYYYDDD): Uses the full 4-digit year to eliminate century ambiguity. November 27, 2026 is
2026331.
4. JD Edwards Enterprise Format (CYYDDD)
Oracle JD Edwards and several legacy ERP databases store dates as a 6-digit integer CYYDDD, where C is the century offset from 1900 (0 for 1900–1999, 1 for 2000–2099, 2 for 2100–2199). Under this rule, November 27, 2026 is stored as 126331.
Worked Example: Converting November 27, 2026
Suppose you want to convert November 27, 2026 at 00:00:00 UTC across every standard:
- Check leap year status: 2026 is not divisible by 4, so it is a common year with 365 days (February has 28 days).
- Find Day of Year (DOY): Days before November total 304 (Jan 31 + Feb 28 + Mar 31 + Apr 30 + May 31 + Jun 30 + Jul 31 + Aug 31 + Sep 30 + Oct 31). Adding 27 gives Day 331.
- Ordinal formats:
YYYYDDDis 2026331,YYDDDis 26331, and JD EdwardsCYYDDDis 126331. - Astronomical JD and MJD: Using the Gregorian-to-JDN formula, noon UTC on November 27, 2026 has
JDN = 2461372. At midnight 00:00:00 UTC (12 hours earlier),JD = 2461371.50000andMJD = 2461371.5 - 2400000.5 = 61371.00000.
How to Convert Julian Dates in Microsoft Excel
Excel stores normal dates as serial numbers starting from January 1, 1900 (serial 1). You can convert between standard Excel dates and Julian formats without add-ins using these formulas (assuming your source value is in cell A1):
- Normal date to 7-digit YYYYDDD:
=YEAR(A1)&TEXT(A1-DATE(YEAR(A1),1,0),"000") - Normal date to 5-digit YYDDD:
=TEXT(A1,"yy")&TEXT(A1-DATE(YEAR(A1),1,0),"000") - 7-digit YYYYDDD to normal date:
=DATE(LEFT(A1,4),1,0)+RIGHT(A1,3) - 5-digit YYDDD (2000s) to normal date:
=DATE(2000+LEFT(A1,2),1,0)+RIGHT(A1,3) - JD Edwards CYYDDD to normal date:
=DATE(1900+INT(A1/1000),1,0)+MOD(A1,1000) - Astronomical JD to Excel date:
=A1-2415018.5(then format the cell as Short Date)
If you also work with API timestamps or interval counts, you can standardize dates with our ISO Date Converter, translate Unix timestamps using the Epoch Time Converter, or measure elapsed days with the Date Difference Calculator.
Quick Reference: Month Start Day-of-Year Table
Use this reference table to verify any YYDDD or YYYYDDD ordinal date by hand. Add the day of the month minus 1 to the month's starting day number.
| Month | Common Year Start (DOY) | Leap Year Start (DOY) | Days in Month |
|---|---|---|---|
| January 1 | 001 | 001 | 31 |
| February 1 | 032 | 032 | 28 / 29 |
| March 1 | 060 | 061 | 31 |
| April 1 | 091 | 092 | 30 |
| May 1 | 121 | 122 | 31 |
| June 1 | 152 | 153 | 30 |
| July 1 | 182 | 183 | 31 |
| August 1 | 213 | 214 | 31 |
| September 1 | 244 | 245 | 30 |
| October 1 | 274 | 275 | 31 |
| November 1 | 305 | 306 | 30 |
| December 1 | 335 | 336 | 31 |
Frequently Asked Questions
First decide which Julian standard you need. For an Ordinal Julian date (YYDDD or YYYYDDD), write the 2-digit or 4-digit year followed by the 3-digit day of the year from 001 to 365 (or 366 in a leap year). For an Astronomical Julian Day (JD), count the continuous days elapsed since noon UTC on January 1, 4713 BCE using the Meeus or Fliegel-Van Flandern formula, adding the fractional UTC time of day.
For an Ordinal date like 26331 or 2026331, split the year digits from the last three day-of-year digits and add that day count to January 0 of the target year. For an Astronomical Julian Day (JD), select Julian to Calendar Date mode above, enter the JD number, and the converter applies the inverse Gregorian algorithm to return the exact year, month, day, and UTC time.
If cell A1 holds a 7-digit YYYYDDD date (such as 2026331), use =DATE(LEFT(A1,4),1,0)+RIGHT(A1,3). If A1 holds a 5-digit YYDDD date in the 2000s (such as 26331), use =DATE(2000+LEFT(A1,2),1,0)+RIGHT(A1,3). If A1 holds an Astronomical Julian Day (JD), subtract the Excel epoch offset with =A1-2415018.5 and format the result cell as a Date.
If cell A1 holds a standard Excel date, convert it to 7-digit YYYYDDD with =YEAR(A1)&TEXT(A1-DATE(YEAR(A1),1,0),"000"). For 5-digit YYDDD, use =TEXT(A1,"yy")&TEXT(A1-DATE(YEAR(A1),1,0),"000"). For an Astronomical Julian Day (JD) at midnight UTC, use =A1+2415018.5 and format the cell as a Number.
An Astronomical Julian Day (JD) is a continuous count of days and fractional days since noon UTC on January 1, 4713 BCE (for example, 2461371.5), used in astronomy, spaceflight, and scientific databases. An Ordinal Julian date (YYDDD or YYYYDDD) simply combines the year with the day-of-year number (for example, 26331 or 2026331), and is widely used in manufacturing, food packaging, military logistics, and ERP systems.
A Modified Julian Date (MJD) is defined as JD minus 2,400,000.5. It shifts the zero point to midnight UTC on November 17, 1858, producing smaller numbers that begin each day at midnight instead of noon. MJD is standard in geodesy, satellite tracking, and scientific timekeeping.
Because the astronomical Julian Day starts at 12:00:00 UTC (noon) rather than midnight. Astronomers originally chose noon so that an entire night of observations would share the same integer day number. As a result, 00:00:00 UTC midnight always falls halfway through a Julian Day and ends in .5.
In leap years (years divisible by 4, except century years not divisible by 400), February has 29 days, making March 1 day 061 instead of 060 and December 31 day 366 instead of 365. This converter automatically checks leap-year rules and rejects day 366 when entered for a non-leap year.