Skip to content

How do you convert a UTC date to a Julian day?

The astronomer’s day count: JD for a UTC moment, MJD from midnight, and back.

Convert

Day count

Result

2451545

Saturday, 1 January 2000, 12:00:00 UTC

Both day counts

Julian Day (JD)
2451545
Modified Julian Day (MJD)
51544.5

The astronomer’s day count: JD for a UTC moment, MJD from midnight, and back.

How to use

  1. Choose date-to-number or number-to-date.
  2. Choose JD or MJD, then enter a UTC date and time or day count.
  3. Read the conversion; day numbers include fractional days.

Julian Day of well-known dates

Date and time (UTC)JDMJD
15 October 1582, 00:002299160.5−100840
17 November 1858, 00:002400000.50
1 January 1970, 00:002440587.540587
1 January 2000, 12:00245154551544.5
1 January 2026, 00:002461041.561041

MJD 0 is 17 November 1858; the Unix epoch is 1 January 1970; J2000 is noon on 1 January 2000.

How it works

Julian Day is a continuous count of days used in astronomy. Its day begins at noon, so midnight has a fractional part of .5. This is different from a date in the Julian calendar.

The Gregorian day count follows the calendar arithmetic described in Meeus, chapter 7. JD = days since 1970-01-01 + 2440587.5 + UTC seconds / 86400; MJD = JD − 2400000.5. At 2000-01-01 12:00 UTC, JD is 2451545 and MJD is 51544.5.

This converter uses the proleptic Gregorian calendar, years 1–9999, and uniform 86400-second days. It does not model leap seconds or convert between UTC, TT and UT1. Reverse conversions round to the nearest second.

Worked example

J2000 reference

  1. 2000-01-01 12:00:00 UTC → JD 2451545; MJD 51544.5.

Default input → 2451545.

Frequently asked questions

Why does JD change at noon?

The astronomical Julian-day convention starts each day at noon.

What is Modified Julian Day?

MJD subtracts 2400000.5 from JD, so its integer boundary is midnight.

Is Julian Day the Julian calendar?

No. It is a continuous day count, not a civil calendar.

Which time zone is used?

UTC only. Convert a local time to UTC first.

Are leap seconds supported?

No. Every day is treated as 86400 seconds and reverse conversion rounds to a second.

Why does my result differ from the USNO converter for old dates?

For dates on or before 4 October 1582, the US Naval Observatory reads the date in the Julian calendar, while this converter always uses the Gregorian calendar extended backwards. The same written date then lands on a different day number, by 10 days in 1582 and fewer further back.

How do I turn a Unix timestamp into a Julian Day?

Divide the seconds by 86400 and add 2440587.5, the JD of 1970-01-01 00:00 UTC. For example, 1,700,000,000 s gives JD 2460263.4259, which is 2023-11-14 22:13:20 UTC.

When was Julian Day 0?

At noon Universal Time on 1 January 4713 BC in the Julian calendar. This converter covers years 1 to 9999, which starts at JD 1721425.5.

Send feedback