What Is a Julian Date?
A Julian Date (JD) is a continuous count of days used mainly in astronomy. It was defined so that time intervals between two instants are a simple subtraction — no months, no leap years, no time zone offsets. JD 0.0 is noon Universal Time on 1 January 4713 BC in the proleptic Julian calendar.
Because the day starts at noon, civil noon is always an integer JD and civil midnight is always a value ending in .5. This is a convention, not a curiosity — the noon boundary keeps an entire night of astronomical observation inside a single Julian day.
JD vs JDN vs MJD
Three closely related values, easy to mix up.
- JD (Julian Date) — continuous day count with a fractional part, so a specific time of day is encoded. JD 2451545.0 is noon UT on 1 January 2000.
- JDN (Julian Day Number) — the integer day label for a whole day. JDN = floor(JD + 0.5). Same noon boundary, so it changes at noon UT.
- MJD (Modified Julian Date) — JD minus 2400000.5. The day boundary moves from noon to midnight, which matches civil dates and most software. MJD 0 is midnight on 17 November 1858.
MJD is the more convenient of the three in software and satellite operations because the day starts when a normal day starts. JD remains the traditional value in astronomy and star catalogs.
Julian Calendar vs Julian Date
These share a name and nothing else.
The Julian calendar is the historical civil calendar introduced by Julius Caesar, with a leap day every four years. It drifted from the seasons over centuries and was replaced by the Gregorian calendar starting in 1582.
The Julian Date is an astronomical day count named after Joseph Scaliger, not Julius Caesar. It is not a calendar at all. The calculator supports both — use the Gregorian ↔ Julian calendar mode to convert a calendar date between the two systems, and any of the other modes for astronomical JD work.
Formulas
Given a calendar date and time:
- Compute the Julian Day Number for the date using the algorithm for the chosen calendar (Gregorian or Julian).
- Convert time of day to a fraction:
fraction = (hour + minute/60 + second/3600) / 24. - Then JD = JDN − 0.5 + fraction.
From JD:
- JDN = floor(JD + 0.5)
- MJD = JD − 2400000.5
- Days from J2000.0 = JD − 2451545.0
Worked Examples
2000-01-01 at 12:00 UT → JD 2451545.0. This is the J2000.0 epoch, and noon produces a clean integer.
2000-01-01 at 00:00 UT → JD 2451544.5. Midnight falls half a day before noon, so the value ends in .5.
JD 2451545.0 → 2000-01-01 12:00 UT. The reverse conversion gives back the same instant.
YYYYDDD and YYDDD Ordinal Codes
In manufacturing, logistics, and food safety, the phrase Julian date usually means an ordinal date code — a year plus a day-of-year number from 001 to 366. It is not the astronomical JD and should not be converted to one without also knowing the time of day.
- YYYYDDD — four-digit year plus three-digit day-of-year.
2000001is 1 January 2000. - YYDDD — two-digit year plus day-of-year.
00001is 1 January 2000 under the 00–69 → 2000+ convention.
Both are supported as a separate, clearly labeled format. The calculator does not treat them as astronomical JD.
Reference Epochs
Several standard epochs have a fixed Julian Date:
- JD 0 — noon, 1 January 4713 BC (proleptic Julian calendar).
- MJD 0 — midnight, 17 November 1858. JD 2400000.5.
- Unix epoch — midnight, 1 January 1970 UTC. JD 2440587.5.
- GPS epoch — midnight, 6 January 1980 UTC. JD 2444244.5.
- J2000.0 — noon, 1 January 2000. JD 2451545.0. The modern astronomical standard epoch.
Fractional Time and Precision
One second is roughly 0.0000116 days. Six decimal places of JD gives about 0.09-second precision; eight decimal places gives about a millisecond. The calculator lets you choose 3 to 10 decimals so you can match the precision your data actually has.
Date Arithmetic with JD
The simplest way to find the interval between two instants is to convert both to JD and subtract. That works across month boundaries, leap years, and calendar reforms without special cases, because JD is continuous. The Date / JD arithmetic mode does this in both directions — difference between two dates, and add or subtract days (fractional days allowed) from a starting date.
Historical Dates and the Gregorian Reform
The Gregorian calendar replaced the Julian calendar in October 1582. Ten days were skipped: the day after Thursday 4 October 1582 (Julian) was Friday 15 October 1582 (Gregorian). Adoption was not uniform — Catholic countries switched in 1582, most Protestant countries in the 18th century, and some Orthodox countries as late as the 20th.
Because of this, the same civil numbers can mean different instants depending on which calendar the source used. The calculator makes the calendar choice explicit — the input is interpreted strictly as Gregorian or strictly as Julian, and the equivalent date in the other calendar is shown. There is no silent automatic switch, because there is no universal rule that would produce the right answer.
Limitations
This calculator handles the standard astronomical JD, JDN, and MJD, the Gregorian and Julian calendars, and the ordinal date codes. It does not model proleptic Gregorian or proleptic Julian as separate selectable conventions — pick whichever calendar the date actually uses and read the equivalent in the other. It does not provide leap-second-aware time scales (UTC vs TAI vs TT) beyond the standard UT/UTC approximation. For high-precision astronomy that requires a specific time scale, use a dedicated ephemeris tool.