Format Code Now
/

Julian Date Converter

CU-93

Convert a calendar date to a Julian date and back. Two things share that name, so both are shown with labels: the YYDDD day-of-year code and the astronomical Julian Day used in science.

Runs in your browser. Nothing is uploaded.

Date or Julian value

Converted values

Calendar date (UTC)Monday, November 23, 2026
Time of day (UTC)00:00:00
Ordinal date YYDDD26327
Ordinal date YYYYDDD2026327
Julian Day (JD)2461367.5
Modified Julian Date (MJD)61367.0
Julian Day Number (JDN)2461368
Two meaningsThe ordinal date (YYDDD) counts days inside one year and is used in manufacturing date codes and by the military. The astronomical Julian Day counts days continuously from noon UTC on January 1, 4713 BC (Julian calendar) and is used in astronomy.

How to use it

  1. Choose what you are converting from: a calendar date, an ordinal date, a Julian Day or a Modified Julian Date.
  2. Enter the value. The date box starts at today and the time at 00:00 UTC.
  3. Read the ordinal dates (YYDDD and YYYYDDD) and the astronomical values (JD, MJD and JDN) together.

The two meanings of Julian date

The ordinal date counts the days inside one year. 26327 (YYDDD) and 2026327 (YYYYDDD) both mean day 327 of 2026, which is November 23. It is used in manufacturing date codes and in military and government systems. The astronomical Julian Day (JD) counts days continuously with no years: JD 2451545.0 is January 1, 2000 at 12:00 UTC. The Modified Julian Date is JD minus 2400000.5, and the Julian Day Number is the whole number that belongs to a calendar day.

Two-digit years

A YYDDD code has no century, so the tool needs a rule. It uses the POSIX convention: 69 to 99 mean 1969 to 1999, and 00 to 68 mean 2000 to 2068. So 26327 is read as 2026 and 99001 as 1999. If your code comes from outside that window, type four digits (YYYYDDD, or 2026-327) and the year is taken as written. The result tells you how the year was read.

Limits and precision

Every date is on the proleptic Gregorian calendar in UTC, years 0001 to 9999. Astronomical tables for dates before October 1582 normally count in the Julian calendar, which gives different Julian Days, so do not use this tool to match those. The time of day is a fraction of a day: 18:00 UTC is a quarter of a day after noon, so its JD ends in .75. A JD or MJD you enter is rounded to the nearest second when it is turned into a date.

Error messages and what to do

MessageWhat it meansFix
"2632" is not an ordinal date. Use YYDDD (26327) or YYYYDDD (2026327).The ordinal date does not have 5 or 7 digits.Type 5 digits for YYDDD or 7 digits for YYYYDDD, such as 26327 or 2026327.
Day 366 does not exist in 2026: 2026 has 365 days.The day part is higher than the length of that year.Use a day from 001 to 365, or a leap year such as 2028 for 366.

Questions people ask

What is a Julian date?

It depends on who is asking. In manufacturing and the military it usually means the year plus the day of the year, such as 26327. In astronomy it is a continuous day count, such as 2461367.5. This tool converts both and labels each one.

How do I convert a Julian date like 26327 to a calendar date?

Choose the ordinal date direction and type 26327. The first two digits are the year, 26 read as 2026, and the last three are the day of the year, 327. The answer is Monday, November 23, 2026.

How do I find the Julian date for today?

Leave the direction on calendar date. The date box starts at today. The ordinal rows give today as YYDDD and YYYYDDD, and the Julian Day rows give the astronomical value for the time you set, which starts at 00:00 UTC.

What is the Modified Julian Date?

MJD equals JD minus 2400000.5. It gives smaller numbers and starts each day at midnight instead of noon. For example JD 2451545.0 is MJD 51544.5, both for January 1, 2000 at 12:00 UTC.

Why does a Julian Day end in .5 at midnight?

The astronomical Julian Day starts at noon UTC, so midnight is half a day away from a whole number. 1970-01-01 at 00:00 UTC is JD 2440587.5, and the noon after it is JD 2440588.0.

Does the ordinal date use the Julian calendar?

No. The ordinal date is plain day counting on the usual Gregorian calendar, despite its name. This tool works on the Gregorian calendar throughout, in UTC, and says so for dates before 1582, where astronomy tables differ.

About this tool

Two different things are called a Julian date, and the tool shows both by name. The ordinal date counts the days inside one year: 26327 (YYDDD) or 2026327 (YYYYDDD) is day 327 of 2026, November 23. It is used in manufacturing date codes and in military and government systems. The astronomical Julian Day (JD) counts days continuously, with the day starting at noon UTC; JD 2451545.0 is January 1, 2000 at 12:00 UTC. The Modified Julian Date is MJD = JD minus 2400000.5, so it starts at midnight; the Julian Day Number is the whole number for a calendar day, counted from noon. For the two-digit year in YYDDD the tool uses the common POSIX rule: 69 to 99 mean 1969 to 1999 and 00 to 68 mean 2000 to 2068; type four digits to choose the century yourself. Every date here is on the proleptic Gregorian calendar in UTC, years 0001 to 9999. Astronomy tables for dates before October 1582 usually count in the Julian calendar, which gives different values, so do not use this tool for those. A JD or MJD is rounded to the nearest second when turned into a date.

Format Code Now: free, no ads, no accounts. Your input stays in your browser.