TanodTools
EN

Julian date, MJD and GPS week converter

Convert UTC, Julian date, MJD, GPS week and Unix time, and read the day-of-year codes on packaging and in JD Edwards: 26320 is 16 November 2026.

Runs entirely in your browser

I have

Julian dates here are based on UTC (not Terrestrial Time), as used in everyday and navigation work. GPS time is computed from UTC with the 18 leap seconds in effect since 2017, so a future leap second would change it. Not for navigation.

How to convert a Julian date

  1. Choose which value you have: a calendar date and time in UTC, a Julian date, a day-of-year code such as 26320, a Modified Julian date, a GPS week and seconds, or a Unix time.
  2. Type it in. The page converts it to every other form straight away.
  3. Copy the value you need, such as the Julian date or the GPS week.

The formulas

A calendar date is converted to a Julian date with the algorithm in Jean Meeus, Astronomical Algorithms (2nd ed., 1998), chapter 7, and the page uses the equivalent Unix-time relation JD = Unix seconds / 86,400 + 2,440,587.5, which holds for the proleptic Gregorian calendar of your browser. The Modified Julian date is MJD = JD − 2,400,000.5 (IAU, 1973). The J2000.0 epoch is JD 2,451,545.0.

GPS time is a continuous time scale that began at 1980-01-06 00:00:00 UTC (Interface Specification IS-GPS-200). The GPS week is floor(seconds since that epoch / 604,800), the seconds of week is the remainder, and the broadcast 10-bit week is the week modulo 1,024. GPS time equals UTC plus the number of leap seconds inserted since 1980: 18 since 2017-01-01, from the table of 18 insertions published by the IERS (Bulletin C). The tool applies the count valid at the instant in question.

Leap seconds are announced by the IERS only months ahead, so GPS times for dates in the future assume no new leap second. Not for navigation.

Questions

What is a Julian date?

The Julian date (JD) is a continuous count of days since noon UT on 1 January 4713 BC in the Julian calendar. It is used in astronomy because it avoids months and years. For example, 2000-01-01 12:00 UTC is JD 2451545.0, the J2000.0 epoch.

What is the Julian date on packaging or in JD Edwards?

A day-of-year code: the year, then the day of the year from 001 to 366. 26320 is day 320 of 2026 (16 November 2026), and JD Edwards writes that day as 126320. Read as an astronomical Julian date, 26320 would fall in 4642 BC. GS1 barcodes write dates as YYMMDD instead; the GS1 Digital Link check reads them.

What is the Modified Julian date?

MJD = JD − 2400000.5. It starts at midnight instead of noon and has fewer digits: 2000-01-01 00:00 is MJD 51544.0. Space agencies and satellite operators use it.

Is the Julian date the same as the Julian calendar?

No. The Julian calendar is an old calendar with a leap year every four years. The Julian date is a day count. The date shown here is in the modern (proleptic Gregorian) calendar, as in your browser.