Skip to content
Omnikalc

Julian date calculator: what is the Julian day number of a date?

Enter a date and a time in UTC to get its Julian date, its Modified Julian date, the days and Julian centuries since J2000.0, the day of the year and the weekday.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Results

Julian date (JD)

2,460,390.00000

Modified Julian date (MJD)
60,389.50000
Days since J2000.0
8,845.0000
Julian centuries since J2000.0
0.242163
Day of the year
80
Day of the week
Wednesday

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.

The day of the week calculator names the weekday of any date and the week number calculator gives the ISO week.

Frequently asked questions

What is the Julian date?

It is a continuous count of days and fractions of a day from noon on 1 January 4713 BCE, used by astronomers to avoid the problems of months and years of different lengths. The whole number is the Julian day number. The fraction gives the time, and the day starts at noon.

What is the difference between JD and MJD?

The Modified Julian date is JD minus 2 400 000.5. The offset makes the numbers smaller, five digits instead of seven, and moves the start of the day to midnight. Satellite and space agencies use MJD, and astronomers often use JD for observation times.

Is the Julian date the same as the Julian calendar?

No. The Julian calendar is the calendar introduced by Julius Caesar in 45 BCE, and the Julian date is a day count named after Joseph Scaliger’s father, Julius Caesar Scaliger. It runs on the same scale of days whichever calendar is used to write a date.

What is J2000.0?

It is the standard reference moment for astronomical positions, noon on 1 January 2000 in terrestrial time, which is JD 2 451 545.0. Formulas for the positions of the planets, the Sun and the Moon use the time T in Julian centuries since J2000.0, and this calculator gives T to six decimals.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.