Astronomers and data scientists count time in days with a single number. The Julian date calculator takes a calendar date and a time in UTC and gives the Julian date, the Modified Julian date, the days since J2000.0, the Julian centuries since J2000.0, the day of the year and the day of the week.
How the calculation works
- Julian date JD = days since 1 January 1970 + 2 440 587.5 + the fraction of the day since midnight UTC. JD 0 is noon UTC on 1 January 4713 BCE in the Julian calendar.
- Modified Julian date MJD = JD − 2 400 000.5. It is shorter, and it starts at midnight.
- Days since J2000.0 = JD − 2 451 545.0. J2000.0 is noon on 1 January 2000.
- Julian centuries = days since J2000.0 ÷ 36 525. Many astronomical formulas take this number as T.
Example
The date is 20 March 2024 at 12:00 UTC, the moment of the March equinox. The days since 1 January 1970 are 19 802, so the Julian date is 19 802 + 2 440 587.5 + 0.5 = 2 460 390.0. The MJD is 60 389.5, the number of days since J2000.0 is 8 845.0, and the number of Julian centuries is 0.242163. The day of the year is 80, and it is a Wednesday.
Why it matters
A single number makes it easy to subtract two dates, to sort observations and to feed astronomical formulas. Observers, satellite trackers and anyone reading a catalog or a data file with a Julian date can convert it to and from a calendar date in seconds.
Good to know
The calculator uses the Gregorian calendar extended to all dates, so it is correct for dates after 1582 and for later dates in any country. The time is UTC, and the difference between UTC, UT1 and terrestrial time, which is about 69 seconds today, is ignored. Use a dedicated tool for historical dates in the Julian calendar.
Related tools
The day of the week calculator names the weekday of any date and the week number calculator gives the ISO week.