Home Tools Blog About

Convert Julian Day to Date

In short

Convert Julian Day Number (JDN), Modified Julian Day (MJD), or NASA TJD to UTC date and time. Free, offline, client-side, instant.

  • Runs in your browser
  • Nothing uploaded
  • Free, no sign-up

Convert a Julian Day Number to a UTC date and time. Accepts JDN (noon-UTC epoch), MJD (Modified - midnight-UTC, used by modern astronomy), and TJD (Truncated, NASA convention). Fractional days are honored - 2451545.25 means 18:00 UTC, not 12:00.

Gregorian Date (UTC):-
Julian Calendar Date:-
Day of Week:-
JDN:-
MJD:-
TJD (NASA):-
Unix Timestamp:-
ISO 8601:-
Enter a value to convert.
🛡
100% PrivateNo server uploads, ever
InstantRuns in your browser
💧
No WatermarksClean output, always
🆓
Free ForeverNo accounts, no limits

How to Use Convert Julian Day to Date

  1. Pick the input type. JDN is the original astronomical number (e.g., 2,451,545 = J2000 epoch). MJD is the modern version with the half-day offset removed, used by ground-based observatories and the IERS. TJD is NASA's compact form (JDN − 2,440,000.5).
  2. Type your value. The single field accepts decimals - 2451545.0 means noon UTC, 2451545.5 means midnight UTC the next civil day, 2451545.25 means 18:00 UTC. Today's JDN at noon UTC is pre-filled as a working example.
  3. Press Convert (Ctrl+Enter). The result panel populates with eight rows: Gregorian date with UTC time, Julian calendar date, day-of-week, JDN/MJD/TJD all cross-referenced, Unix timestamp (when in range), ISO 8601 string.
  4. Need a table? Tick the "Batch mode" box. Paste a list of values (one per line, or comma-separated) and get a TSV-style output ready for Excel / Google Sheets / pandas.
  5. Copy or download. Copy puts the report on your clipboard. Download saves julian-day-report.txt (or .tsv in batch mode). The reset button restores the J2000 default.

Frequently Asked Questions

What’s the difference between JDN, MJD, and TJD?

All three are continuous day-count systems. JDN (Julian Day Number) starts at noon UTC on 1 January 4713 BC and is the astronomers’ original – its day boundary at noon is awkward for civil use. MJD (Modified Julian Day) = JDN − 2,400,000.5; the half-day subtraction moves the day boundary to midnight UTC and the smaller number is friendlier for code. TJD (Truncated Julian Day, NASA) = JDN − 2,440,000.5; even smaller, useful for spacecraft logs in the modern era.

Why does fractional input matter?

A JDN with a fractional part encodes time-of-day. 2451545.0 is exactly noon UTC on 1 January 2000. 2451545.25 is 6 hours later = 18:00 UTC. 2451545.5 is midnight UTC on 2 January 2000. Many older tools silently truncate the fraction – this one does not, so 18:00 UTC actually appears in the result.

What’s the J2000 epoch and why is it 2,451,545.0?

J2000.0 is the standard reference epoch for star catalogs, planetary ephemerides, and orbital element sets. It’s defined as JDN 2,451,545.0, which is exactly 12:00 TT (Terrestrial Time) on 1 January 2000 – and very close to 12:00 UTC. Try entering it: you’ll see Saturday, 2000-01-01 12:00:00 UTC.

How is the day-of-week computed?

From JDN modulo 7. JDN 0 was a Monday. Each successive JDN advances one weekday, wrapping at 7. The current tool computes the day-of-week from the floor of JDN+0.5 (the civil day for the UTC midnight that started) so it always matches the displayed Gregorian date.

Why show both Gregorian and Julian Calendar dates?

For dates after 1582 (Catholic Europe) or 1752 (British) the Gregorian one is what people use. For dates before that, historical sources often use the Julian Calendar – and the two diverge by up to 14 days for the far past. Both are computed from the same JDN so you can cross-check against primary sources.

Will I get a Unix timestamp for any date?

Only for dates within the ISO 8601 range (year 1 through 9999). Earlier dates (like JDN 0 = 4713 BC) show “out of Unix range” because the Unix timestamp formula and JS Date both reject negative-year datetimes. The JDN/MJD/TJD/Gregorian fields still populate correctly outside that range.

How accurate is this for historical dates?

The Fliegel & Van Flandern algorithm (Comm. ACM 1968) is exact for the entire Gregorian and Julian calendar ranges from 4713 BC to 9999 AD. Differences between this output and NASA HORIZONS or U.S. Naval Observatory tables are due to time-system conventions (TT vs UT1 vs UTC), not the date arithmetic.

What’s in the batch TSV output?

Seven columns: input, jdn, mjd, gregorian (with UTC time), julianCalendar, dayOfWeek, unix. Header row included. Paste directly into Excel or Google Sheets – tabs split into cells automatically. Invalid rows show “ERR” in the second column so you can spot them.

Is my data uploaded?

No. All arithmetic runs in your browser using integer math – no network calls, no analytics. Open DevTools → Network and confirm zero requests fire after the page loads.

Does it work offline?

Yes. Total bundle is under 22 KB. Once loaded you can disconnect and keep converting. Useful for fieldwork or archival research where you’re computing from paper observation logs without internet.

Keep going

Related Tools

All Time tools →
Share

Embed this tool

Add this free tool to your website. Copy and paste the code: