Julian Date

The continuous day count system used in astronomy

What is Julian Date?

Julian Date (JD) is a continuous count of days since noon Universal Time on January 1, 4713 BCE in the Julian calendar. This date was chosen because it's far back enough that all historically recorded astronomical events occurred after it.

Unlike the Gregorian calendar, which divides time into years, months, and days of varying lengths, Julian Date assigns a single unique number to every moment in time. Each day begins and ends at noon UTC (12:00), not midnight. This distinction is important: when two astronomers on opposite sides of the world want to discuss an observation, Julian Date eliminates any ambiguity about which day they are referring to.

The system was devised by the French mathematician and astronomer Joseph Justus Scaliger in 1583. He named it after his father, Julius Caesar Scaliger. Despite the name, it has nothing to do with the Julian calendar itself, though both trace their naming to Julius Caesar.

Current Julian Date
Calculating...
Updated every second

Julian Date vs Gregorian Calendar

The Gregorian calendar, introduced by Pope Gregory XIII in 1582, is the civil calendar used worldwide. It uses months of 28 to 31 days and adds leap years to approximate the solar year. While practical for everyday life, this system creates complications for scientific work:

Julian Date solves every one of these problems. It provides a single, unbroken number line with no gaps, no varying month lengths, and no dependence on location. For these reasons, astronomers adopted it as their standard timekeeping system centuries ago, and it remains in widespread use today.

How Julian Date is Calculated

The standard algorithm for computing JD from a calendar date uses integer division (discarding remainders). For a given year Y, month M, and day D:

JD = (1461 × (Y + 4800 + (M - 14) / 12)) / 4 
    + (367 × (M - 2 - 12 × ((M - 14) / 12))) / 12 
    - (3 × ((Y + 4900 + (M - 14) / 12) / 100)) / 4 
    + D - 32075

Where Y = year, M = month, D = day (with decimals for the fraction of the day past noon UTC). All divisions are integer divisions. This formula accounts for leap years, month lengths, and the Gregorian calendar correction automatically.

To include time of day, convert hours, minutes, and seconds to a decimal fraction and add it to the result. Note that Julian Date days start at noon UTC, so subtract 0.5 from the time fraction if your input is in local midnight-based time.

Step-by-step example

For January 1, 2000 at noon UTC (the J2000.0 epoch):

  1. Y = 2000, M = 1, D = 1
  2. Substitute into the formula
  3. Result: JD = 2451545.0

Modified Julian Date (MJD)

Modified Julian Date (MJD) is a simplified version that shifts the zero point to midnight instead of noon, making it more intuitive for everyday use:

MJD = JD - 2400000.5

The subtraction of 2400000.5 achieves two things: it reduces the number of digits needed to express recent dates, and it moves the day boundary from noon to midnight, which aligns with how most people think about a "day."

MJD is widely used in modern astronomy, geodesy, and space mission operations. The International Earth Rotation and Reference Systems Service (IERS) publishes regular MJD values for Earth orientation parameters.

Applications of Julian Date

Julian Date is far more than an astronomical curiosity. It serves as the backbone of precise timekeeping across several fields:

Astronomy

Astronomers record observations using Julian Date because it makes it trivial to calculate the time elapsed between events. When studying variable stars, transits, or supernovae, researchers need to compare brightness measurements taken months or years apart. Using JD, the difference is a simple subtraction rather than a complex calendar computation.

Spacecraft Navigation

NASA and other space agencies use Julian Date for mission planning and spacecraft trajectory calculations. Every major space mission — from the Voyager probes to the James Webb Space Telescope — logs events in Julian Date. The J2000.0 epoch (JD 2451545.0, or January 1, 2000 at noon UTC) serves as the reference point for modern celestial coordinate systems.

Military and Intelligence

Military operations that span multiple time zones benefit from Julian Date's time-zone-independent nature. Coordinating satellite reconnaissance, global communications, and synchronized operations across theaters avoids the confusion of converting between local times.

Calendar Calculations

Software developers building calendar and scheduling applications often convert dates to Julian Date internally because it simplifies date arithmetic. Adding or subtracting days, calculating day-of-week, and comparing dates become straightforward operations on a single number.

Julian Date in Programming

Most programming environments make JD calculation straightforward. Here are practical examples:

JavaScript

Since JavaScript's Date object counts milliseconds since Unix epoch (January 1, 1970 at midnight UTC), converting to JD is simple:

function toJulianDate(date) {
    return (date.getTime() / 86400000) + 2440587.5;
}

const jd = toJulianDate(new Date());

Python

Python's datetime module works well with a small conversion:

from datetime import datetime

def to_julian_date(dt):
    return dt.timestamp() / 86400 + 2440587.5

jd = to_julian_date(datetime.utcnow())

Manual Calculation

For non-programmers, an online Julian Date calculator is the easiest approach. Tools like those on Time Precise let you enter any date and instantly receive the corresponding Julian Date and Modified Julian Date.

Common Julian Date Values

These reference dates appear frequently in astronomy and computing:

EventJulian Date
JD Epoch (January 1, 4713 BCE, noon)0.0
MJD Epoch (November 17, 1858, midnight)2400000.5
Unix Epoch (January 1, 1970, midnight)2440587.5
J2000.0 Epoch (January 1, 2000, noon)2451545.0
J2025.0 Epoch (January 1, 2025, noon)2460676.5
Today (current)~2461000

The J2000.0 epoch is particularly important. It is the standard reference point for modern astronomical coordinate systems, including the International Celestial Reference Frame (ICRF). When astronomers specify the position of a star, they typically give coordinates "of epoch J2000.0," meaning measured relative to the Earth's orientation at that instant.

See Also

Learn more: Wikipedia: Julian Day | Wikipedia: JD Calculation