Julian Date Converter

Convert an astronomical Julian Day or an ordinal YYDDD date to a calendar date and back, with Unix time alongside. For plain epoch values, use the Unix epoch converter.

Today's Julian date (UTC)

Julian Day
2461362.69814
MJD
61362.19814
YYDDD
26322
YYYYDDD
2026322

Calendar date (UTC)
2025-01-01T00:00:00Z
Julian Day (JD)
2460676.50000
Julian Day Number
2460677
Modified Julian Date
60676.00000
Unix timestamp (s)
1735689600
Ordinal YYDDD
25001
Ordinal YYYYDDD
2025001
Which “Julian date” do I have?

Astronomical Julian Day: a 7-digit day count with a decimal, such as 2460676.5. Used in astronomy and science. It starts at noon UTC.

Ordinal date (YYDDD): a year plus the day of the year, such as 25001 for 1 January 2025. Used on food packaging, in manufacturing and by the military.

Runs in your browser. Nothing is sent.

How to use it:

  1. Choose a tab: Julian Day to date, date to Julian Day, or an ordinal YYDDD date.
  2. Type the value. Results update as you type, all in UTC.
  3. Copy any row: calendar date, JD, Julian Day Number, MJD, Unix time or ordinal date.

Convert a Julian Date to a Normal Date

For Julian date to normal date conversion, first check which kind you have. A Julian Day such as 2460676.5 becomes Unix time with (JD − 2440587.5) × 86,400, which here gives 1735689600, or 1 January 2025. An ordinal date such as 25001 is simply year 2025, day 1.

The Julian Day → Date tab handles the first kind and also accepts a Modified Julian Date. The Ordinal tab handles the second. If you paste a 5-digit number into the Julian Day box, the tool suggests you may have an MJD or an ordinal date instead.

Worked examples
InputKindCalendar date (UTC)
2440587.5Julian Day1970-01-01 00:00
2451545.0Julian Day2000-01-01 12:00
2460676.5Julian Day2025-01-01 00:00
60676Modified Julian Date2025-01-01 00:00
25032Ordinal YYDDD2025-02-01
2024366Ordinal YYYYDDD2024-12-31

Convert a Calendar Date to a Julian Day Number

Calendar date to Julian date conversion works the same way in reverse. Turn the date into Unix seconds, divide by 86,400 and add 2,440,587.5. The Date → Julian tab does this for any UTC date and time.

The Julian Day Number (JDN) is the whole-number label of a day. Because the Julian Day starts at noon, the calendar day 1 January 2025 runs from JD 2460676.5 to 2460677.5, and its JDN is 2460677, the value at noon. Use the decimal JD when you need a moment in time and the JDN when you need a day label.

from datetime import datetime, timezone

dt = datetime(2025, 1, 1, tzinfo=timezone.utc)
jd = dt.timestamp() / 86400 + 2440587.5
print(jd, int(jd + 0.5))
Output
2460676.5 2460677

Astronomical Julian Day vs Ordinal (YYDDD) Julian Date

The same words mean two unrelated things, and mixing them up is the most common Julian date mistake.

Julian Day compared with ordinal Julian date
Astronomical Julian DayOrdinal date (YYDDD)
Looks like2460676.525001 or 2025001
CountsDays since noon UTC, 1 January 4713 BC (proleptic Julian calendar)Day of the year, 001 to 365 or 366
Day startsNoon UTCMidnight, local time
Used inAstronomy, satellite data, scientific softwareFood packaging, manufacturing, military logistics

The ordinal form is defined in ISO 8601 as an ordinal date, written 2025-001. The YYDDD shorthand drops the century, so it is ambiguous across centuries; this tool reads 00–69 as 2000–2069. For day numbers within a single year, the day of the year tracker shows today's number and a full calendar.

Julian Date to Unix Timestamp Formula

The Unix epoch sits at Julian Day 2,440,587.5. That gives two exact formulas, with Unix time in seconds:

JD   = unix / 86400 + 2440587.5
unix = (JD - 2440587.5) * 86400
MJD  = JD - 2400000.5 = unix / 86400 + 40587

Because Unix time ignores leap seconds, every day is exactly 86,400 seconds in these formulas. Astronomers who need sub-second precision use a separate time scale, but for dates and timestamps the formula is exact. The same idea works in a spreadsheet: with Unix seconds in A1, =A1/86400+2440587.5 returns the Julian Day. For leap-year edge cases, the leap year calculator walks through the Gregorian rules. You can see how other formats compare in timestamp formats.

Today's Julian Date

Today's Julian date is shown live at the top of the converter, in both forms. The Julian Day ticks forward by about 0.00001 every second and rolls over to the next whole number at noon UTC. The ordinal YYDDD date changes at midnight UTC.

If you need today's Julian date in your local time zone instead, remember that the ordinal date follows your local calendar day, while the Julian Day is always counted in UTC. Near midnight the two can disagree by a day.

Julian Date Converter FAQ

What is the difference between a Julian date and a Julian Day?

A Julian Day is the astronomers' continuous count of days since noon UTC on 1 January 4713 BC in the proleptic Julian calendar, such as 2460676.5 for the start of 2025. In business and the military, a Julian date usually means an ordinal date in YYDDD form, where 25001 is 1 January 2025. They share a name but are unrelated systems.

How do I convert a Julian date to a normal date?

First decide which kind you have. A 7-digit number with a decimal, such as 2460676.5, is an astronomical Julian Day: subtract 2440587.5 and multiply by 86,400 to get Unix seconds. A 5-digit number like 25032 is an ordinal date: 25 is the year 2025 and 032 is the 32nd day, which is 1 February.

What is the Modified Julian Date?

The Modified Julian Date (MJD) is the Julian Day minus 2,400,000.5. It starts at midnight instead of noon and uses smaller numbers, which makes it easier to read and store. The Unix epoch, 00:00 UTC on 1 January 1970, is MJD 40587 exactly, so MJD = unix / 86400 + 40587.

Why does the Julian Day start at noon?

Astronomers designed it for night-time observing. Starting each day at noon UTC means a full night of observations in Europe falls under a single day number, with no date change at midnight. The Modified Julian Date later moved the start back to midnight for everyday use, which is why the two differ by an extra half day.

Updated