GALAXY OF TOOLS

SPACE SECTOR

Julian Date Converter

Convert a calendar date and UTC time to Julian Date and MJD, or a JD back to a date, with day of year and Unix time.

Astronomical numbering: 0 = 1 BC, −1 = 2 BC
Julian Date—
—Modified JD (MJD)
—Day of year
—Day of week
—Unix time (s)

Meeus’ algorithm (Astronomical Algorithms, ch. 7): Gregorian calendar from 15 October 1582, Julian calendar before it. Times are UTC; JD is exact to the second.

Runs entirely in your browser. Nothing you enter or upload is sent to a server.

Julian Date converter for astronomers, coders and historians

This Julian Date converter turns any calendar date and UTC time into a Julian Date (JD) and Modified Julian Date (MJD), and converts a JD or MJD back into a readable date. Alongside the main number it shows the day of year, the weekday, the Unix timestamp, the Julian Day Number, the days and Julian centuries elapsed since J2000.0, and the Julian and Besselian epochs, so one lookup covers everything a star catalogue, an ephemeris or a data file might ask for.

Julian Dates are the time scale astronomers use because they count days continuously, with no months, leap days or time zones to trip over. Subtracting two JDs gives an exact interval in days, which is why observations, satellite element sets and scientific databases are stamped with JD or MJD. The converter uses the algorithm from Jean Meeus’ Astronomical Algorithms, handles the switch to the Gregorian calendar on 15 October 1582, and runs entirely in your browser.

How to use the Julian Date Converter

  1. Choose Date → Julian Date and enter the year, month, day and the time in UTC. Years before 1 AD use astronomical numbering (0 = 1 BC, −1 = 2 BC).
  2. Read the Julian Date in the highlighted panel; MJD, day of year, weekday and Unix time appear below it with the other epochs in the table.
  3. Switch to Julian Date → date and type a JD such as 2451545.0, or an MJD such as 51544.5, to get the calendar date and time.
  4. Press Now (UTC) for the current Julian Date, or the J2000.0 and Unix epoch shortcuts to check reference points.
  5. Use Copy JD or Copy all values to paste the results into a spreadsheet, script or logbook.

Julian Date Converter features

Both directions

Calendar date to JD and JD or MJD back to a calendar date, updating live as you type.

Correct calendar switch

Dates up to 4 October 1582 are Julian-calendar dates and dates from 15 October 1582 are Gregorian; the ten skipped days are rejected.

All the common variants

JD, MJD, Reduced JD, Truncated JD, Julian Day Number, days and centuries since J2000.0, Julian epoch and Besselian epoch.

Everyday values too

Day of year, weekday, ISO 8601 string and Unix time in seconds and milliseconds.

Second-level precision

Times are accepted to fractions of a second; the JD is shown to six decimals (about 0.1 s).

Private and offline

Pure arithmetic in the page — nothing is sent anywhere.

What a Julian Date is

The Julian Date is the number of days, including the fraction of a day, since noon Universal Time on 1 January 4713 BC in the proleptic Julian calendar. That starting point was chosen by Joseph Scaliger in 1583 as the last time three calendar cycles coincided, and it has the practical advantage that every historical observation has a positive JD. A JD ending in .5 is therefore midnight UTC, and .0 is noon, which is why astronomers’ days “start at noon” — a night’s observing never straddles a date change.

The Modified Julian Date is simply JD − 2400000.5. It starts at midnight on 17 November 1858, is small enough to fit comfortably in old record formats and is the stamp used by satellite tracking, geodesy and many data archives. The Julian Day Number (JDN) is the integer part of the JD at noon, and J2000.0 — JD 2451545.0, 1 January 2000 12:00 TT — is the reference epoch for modern star positions and the sidereal time formula.

Reference values

If a program disagrees with these rows, it is probably treating midnight as .0, using local time instead of UTC, or ignoring the 1582 calendar change.

EventCalendar date (UTC)JDMJD
Start of the Julian Period1 January 4713 BC 12:00 (Julian calendar)0.0−2400000.5
Start of the MJD count17 November 1858 00:002400000.50.0
Sputnik 1 launch (Meeus’ example)4 October 1957 19:26:242436116.3136115.81
Unix epoch1 January 1970 00:002440587.540587.0
J2000.0 epoch1 January 2000 12:002451545.051544.5
First day of 20261 January 2026 00:002461041.561041.0

The conversion formula

For a date Y-M-D (with January and February counted as months 13 and 14 of the previous year), Meeus’ formula is JD = ⌊365.25 (Y + 4716)⌋ + ⌊30.6001 (M + 1)⌋ + D + B − 1524.5, where B = 2 − A + ⌊A/4⌋ with A = ⌊Y/100⌋ for Gregorian dates and B = 0 for Julian-calendar dates. The time of day is added as a fraction: 18:00 UTC adds 0.75. The reverse algorithm peels those steps off again. To go from a Unix timestamp instead, divide the seconds by 86400 and add 2440587.5 — the Unix timestamp converter handles the human-readable side of that.

Where you will meet JD and MJD

  • Astronomy — variable-star light curves, comet and asteroid ephemerides, exoplanet transit times, catalogue epochs and the times of lunar phases.
  • Satellites — two-line element sets give their epoch as a year and fractional day; tracking software such as the ISS pass predictor works in MJD internally.
  • Computing and history — databases store JD or MJD because one number sorts and subtracts cleanly, and chronologists use JDN to compare Julian, Gregorian, Islamic and Hebrew dates without ambiguity.

Julian Date Converter FAQ

What is the Julian Date today?

Press Now (UTC) and the converter shows the current JD, MJD and day of year from your device clock. The integer part changes at noon UTC, not at midnight.

Is a Julian Date the same as the Julian calendar?

No. The Julian Date is a continuous day count used in astronomy; the Julian calendar is the year-and-month calendar used before the Gregorian reform. This converter uses the Julian calendar only for dates before 15 October 1582.

Why does my JD end in .5?

Because the Julian day starts at noon UTC. Midnight is halfway through a Julian day, so a date at 00:00 UTC always ends in .5.

How do I convert a Julian Date to a normal date?

Select Julian Date → date, type the JD (or the MJD in the second box) and read the calendar date, time, weekday and ISO 8601 string. Fractional days are accepted: 2460000.75 gives 25 February 2023 at 06:00 UTC.

Does the converter handle time zones?

Inputs and outputs are in UTC, which is what JD is defined in. Convert local time to UTC first — 12:00 IST is 06:30 UTC.

How accurate is the Julian date converter?

Exact for whole days; the time of day is shown to six decimals (about 0.1 s). It does not apply the 69-second difference between UTC and Terrestrial Time that high-precision ephemerides require.

You might also need