Date to Julian Day Converter screenshot

Date to Julian Day Converter

A Gregorian date into its Julian Day Number, Julian Date at 00:00 UT and Modified Julian Date.

Privacy First
0 Runs
Updated 2026-11-21
Runs in your browser
No sign-up, no upload

What the date to Julian Day converter does

It converts one calendar date into the three day numbers astronomers use. The Julian Day Number is the integer day count from the start of the Julian Period; the Julian Date at 00:00 UT is JDN − 0.5; and the Modified Julian Date is JD − 2 400 000.5, which is the small number a modern observation log records.

1 January 2000 has a Julian Day Number of 2451545, a Julian Date of 2451544.5 at 00:00 UT and a Modified Julian Date of 51544. Those three are printed together so a figure copied from a different convention can be matched against this one.

The integer form is Fliegel and Van Flandern's, so no floating-point division touches the day count. The page reads every date as proleptic Gregorian, including dates before 1582 where the historical civil calendar was Julian; it does not convert between calendars and says so on the result. A date that the calendar does not have — 30 February, for one — is refused by name, and years run from 1 to 9999.

How to use it

Type the date into the text box as YYYY-MM-DD.

Press Run. The result prints the Julian Day Number, the Julian Date at 00:00 UT and the Modified Julian Date, with the calendar basis.

Worked example

Input:

2000-01-01

Output:

Julian Day Number: 2451545
Julian Date:       2451544.5 (at 00:00 UT)
Modified JD:       51544 (JD − 2 400 000.5)

Why it runs in your browser

The day count is computed in this tab. The date you enter is never uploaded.

The page converts one calendar date into the day numbers astronomers use. 1 January 2000 has a Julian Day Number of 2451545, a Julian Date of 2451544.5 at 00:00 UT and a Modified Julian Date of 51544.

The integer conversion is Fliegel and Van Flandern's, so the day count is exact integer arithmetic. The Julian Date subtracts 0.5 because the astronomical day starts at noon, and the Modified Julian Date subtracts 2 400 000.5 to give the small number a modern log records.

Every date is read as proleptic Gregorian, including dates before 1582 where the historical civil calendar was Julian. The page states that and does not convert between calendars.

JDN, Julian Date and MJD

The Julian Day Number is an integer that counts days from the start of the Julian Period. The Julian Date is the same count with a fractional part, and it begins at noon UT, so midnight at the start of a civil day is JDN − 0.5. The Modified Julian Date subtracts 2 400 000.5, which is why modern values are five digits.

A figure copied from a paper may be any of the three. The page prints all three beside the civil date so the convention is unambiguous.

Why the calendar is named

The Gregorian calendar replaced the Julian one in 1582, and different countries adopted it at different times. A day count is only meaningful next to the calendar it assumes, so this page uses the proleptic Gregorian calendar throughout and says so on every result.

It does not convert a historical Julian-calendar date, and it does not offer an old-style switch. A reader working with a pre-1582 document should know which calendar the document uses before reading a day number from this page.

How to use Date to Julian Day Converter

Type the date into the text box as YYYY-MM-DD.

Press Run. The result prints the Julian Day Number, the Julian Date at 00:00 UT and the Modified Julian Date, with the calendar basis.

What to Expect

Best for

  • Converting a civil date to a Julian Day Number
  • Reading a Julian Date and a Modified Julian Date from one date
  • Checking an astronomical log date against its day number

Not ideal for

  • Converting a pre-1582 Julian-calendar date
  • A time of day other than 00:00 UT
  • A calendar system other than Gregorian

What this tool keeps

  • The date you typed
  • The calendar basis the conversion assumed

What may need cleanup

  • A date written in another format, which must become YYYY-MM-DD
  • A time of day, which this page reads as 00:00 UT

Common errors

  • Reading the Julian Date at midnight as a whole number, when it ends in .5
  • Using the page for a date before 1582 without checking which calendar the source used

Example use cases

  • Logging an observation date in MJD
  • Checking a published Julian Day Number
  • Teaching why astronomical days start at noon

Sample input

2000-01-01.

Sample output

Julian Day Number 2451545, Julian Date 2451544.5 at 00:00 UT and Modified Julian Date 51544.

Who this is for

  • Astronomy students
  • Anyone reading a day number in an observation log

Frequently asked questions

Why is the Julian Date 2451544.5 and not 2451545?

The astronomical day begins at noon UT. Midnight at the start of 1 January 2000 is half a day before the Julian Day Number 2451545 begins, so the Julian Date at that moment is 2451544.5.

Which calendar does the page assume?

The proleptic Gregorian calendar, for every date, including dates before 1582. It does not convert a historical Julian-calendar date and says so on the result.

Can I enter a time of day?

No. The page reads a date and treats it as 00:00 UT. A time would change the fractional part of the Julian Date, which this page does not compute.

What is the Modified Julian Date for?

It is the Julian Date minus 2 400 000.5, which turns a seven-digit number into a five-digit one. Many modern observation logs record MJD because it is shorter and fits comfortably in a fixed field.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.