Skip to content

Julian Date Converter

Convert dates to astronomical Julian Day and MJD, day of the year and YYDDD Julian date codes, and back, with Julian or Gregorian calendar dates.

Calculator Details

Astronomical Julian Day (JD):2461370See results ↓

A calendar date to every kind of Julian date, an astronomical Julian Day back to a date, or a YYDDD/YYYYDDD code to a date

Calendar date (Universal Time)

HH:MM or HH:MM:SS in Universal Time (UTC); astronomical days start at noon

Your Results

Astronomical Julian Day (JD): 2461370

Astronomical Julian Day (JD)

2461370

Wednesday, 2026-11-25 12:00:00 UT

Modified Julian Date (MJD)

61369.5

JD − 2,400,000.5

Day of the year

329 of 365

36 days left

Julian date code

26329

YYDDD; 2026329 as YYYYDDD

Julian calendar

2026-11-12

The same day in the other calendar

Wednesday 2026-11-25 12:00:00 UT (gregorian calendar) is Julian Day 2461370 (MJD 61369.5), day 329 of 365 with 36 left, date code 26329 (YYDDD) or 2026329 (YYYYDDD).

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

Every kind of “Julian date” for this moment
MeaningValue
Astronomical Julian Day (days since noon UT, 1 Jan 4713 BC)2461370
Modified Julian Date (days since midnight, 17 Nov 1858)61369.5
Ordinal date (ISO 8601 day of the year)2026-329
Date code YYDDD (packaging, military)26329
Date code YYYYDDD (mainframes, some labels)2026329
Date in the julian calendar2026-11-12
Meeus's algorithm, step by step
StepValue
Y, M (January and February count as months 13 and 14 of the year before)Y = 2026, M = 11
D = day + time ÷ 2425.5
B = 2 − A + ⌊A/4⌋, A = ⌊Y/100⌋ (Gregorian)A = 20, B = -13
JD = ⌊365.25(Y + 4716)⌋ + ⌊30.6001(M + 1)⌋ + D + B − 1524.52461370

How This Calculator Works

How it's calculated

JD = ⌊365.25(Y + 4716)⌋ + ⌊30.6001(M + 1)⌋ + D + B − 1524.5 (Meeus, ch. 7)

MJD = JD − 2,400,000.5 · day of year = days since 1 January + 1 · YYDDD = last two digits of the year + day of year

Your numbers: Wednesday 2026-11-25 at 12:00:00 UT is JD 2461370; minus 2,400,000.5 gives MJD 61369.5. It is day 329 of the year, so the code is 26329.

Frequently Asked Questions

What is a Julian date?

It means three different things. Astronomers use the Julian Day (JD), a running count of days since noon on 1 January 4713 BC. In industry and the military a "Julian date" is usually a date code such as 26315: the year (26) and the day of the year (315). And some people mean a date in the old Julian calendar. The calculator shows all three, labelled.

How do I read a Julian date code on food packaging?

The first one or two digits are the year and the last three the day of the year. 26315 is day 315 of 2026, which is 11 November 2026. 24366 is 31 December 2024, the 366th day of a leap year.

What is today’s day of the year?

Open the calculator: it starts at today’s date and shows the day of the year, how many days are left, and today’s YYDDD code. In a leap year, every date from 1 March on is one day later than in a common year.

What is the Julian Day of 1 January 2000?

At noon Universal Time it is 2451545.0, the epoch J2000.0 used in astronomy. At midnight the same date is 2451544.5, because Julian Days start at noon.

What is the Modified Julian Date?

MJD = JD − 2,400,000.5. It starts at midnight instead of noon and keeps the numbers shorter: 1 January 2000 at 0:00 UT is MJD 51544. It is used for satellite tracking, geodesy and many scientific data sets.

Why do Julian Days start at noon?

So that a single night of astronomical observations falls on one Julian Day. The convention dates from the 19th century, when astronomers in Europe worked through the night.

What is the difference between the Julian and Gregorian calendars?

The Julian calendar adds a leap day every four years, so its year averages 365.25 days, about 11 minutes too long. The Gregorian calendar, introduced in October 1582, skips the leap day in century years not divisible by 400. The two calendars are now 13 days apart: 11 November 2026 Gregorian is 29 October 2026 Julian.

How do I convert a Julian Day back to a date?

Choose "Julian Day → date" and enter the number. JD 2436116.31 is 4 October 1957 at 19:26:24 UT, when Sputnik 1 was launched.

Julian Day by Jean Meeus's algorithm (Astronomical Algorithms, 2nd ed., 1998, ch. 7), which matches the US Naval Observatory converter; times are Universal Time, and astronomical days start at noon. Dates before 15 October 1582 are read in the Julian calendar unless you choose otherwise; years before 1 AD use astronomical numbering (year 0 = 1 BC, −584 = 585 BC). Ordinal dates follow ISO 8601-1:2019; two-digit YYDDD codes are read as 2000–2099. Not included: TT/TDB time scales and ΔT, leap seconds, the Julian Day of local time zones, Lilian or Rata Die day numbers, and four-digit YDDD military codes (one-digit year).

Julian Date Converter: Julian Day, Day of Year and YYDDD Codes

By FindMySum · Last reviewed

This Julian date converter handles all three things people mean by a "Julian date". It turns a calendar date and time into the astronomical Julian Day (JD) and Modified Julian Date (MJD); it gives the day of the year and the YYDDD and YYYYDDD date codes used on food packaging, in the military and on mainframe systems; and it shows the same day in the Julian and Gregorian calendars. It also works backwards, from a Julian Day number or a date code to the date.

Worked example: noon on 1 January 2000

  1. Rearrange the date. January and February count as months 13 and 14 of the previous year, so Y = 1999 and M = 13. The day with the time is D = 1 + 12/24 = 1.5.
  2. Gregorian correction. A = ⌊1999/100⌋ = 19 and B = 2 − 19 + ⌊19/4⌋ = −13.
  3. Julian Day. ⌊365.25 × (1999 + 4716)⌋ + ⌊30.6001 × 14⌋ + 1.5 − 13 − 1524.5 = 2,452,653 + 428 + 1.5 − 13 − 1524.5 = 2,451,545.0.
  4. Other forms. MJD = 2,451,545.0 − 2,400,000.5 = 51,544.5. It is day 1 of a 366-day year, so the YYDDD code is 00001, and the date was a Saturday.

The page opens on today's date at noon Universal Time, so the first numbers you see are today's.

The astronomical Julian Day

Astronomers need a single continuous count of days that doesn't reset each month or year and doesn't care which calendar a record used. The Julian Day number does that: it counts days from noon Universal Time on 1 January 4713 BC in the Julian calendar, a starting point early enough that every historical observation has a positive number. The fraction after the decimal point is the time of day from noon, so .0 is noon and .5 is midnight.

The algorithm here is the one Jean Meeus published in Astronomical Algorithms, chapter 7, the standard reference for amateur and professional astronomers. It gives the same numbers as the US Naval Observatory's converter, and it works back from a Julian Day to the date and time. Because the count is continuous, the difference between two Julian Days is the exact number of days between them, which is how astronomers time eclipses, variable stars and spacecraft.

The Modified Julian Date subtracts 2,400,000.5. It starts at midnight, which suits civil timekeeping, and keeps numbers to five digits for the next century; it is common in satellite and geodesy data.

Day of the year and YYDDD codes

Outside astronomy, "Julian date" usually means the day of the year. 1 January is day 1, 31 December is day 365, or 366 in a leap year. ISO 8601 calls this an ordinal date and writes it 2026-315.

Manufacturers print it as a compact code on cans, eggs and medicines: two digits for the year and three for the day, so 26315 is 11 November 2026. The US military and many mainframe systems use the same format, sometimes with a four-digit year (2026315) or just the last digit of the year. Enter a five- or seven-digit code to turn it back into a date; two-digit years are read as 2000 to 2099.

Julian and Gregorian calendars

The Julian calendar, introduced by Julius Caesar, has a leap year every four years. Its average year of 365.25 days is about 11 minutes longer than the solar year, so by the 16th century the spring equinox had drifted ten days early. Pope Gregory XIII's reform dropped ten days, so Thursday 4 October 1582 was followed by Friday 15 October 1582, and changed the rule so century years are leap years only when divisible by 400.

Astronomers, following Meeus, read dates before 15 October 1582 in the Julian calendar and later dates in the Gregorian. You can change that in the advanced options and read every date in one calendar instead. The calculator always shows the same day in the other calendar too: the two are now 13 days apart.

Time zones

Julian Days are defined in Universal Time. Enter the time in UTC; in Toronto, for example, add five hours in winter (four in summer) to local time. If you only care about the day of the year or the date code, the time doesn't matter.

More questions

Who invented the Julian Day count?

The French scholar Joseph Scaliger proposed the Julian Period in 1583, a 7,980-year cycle combining three older calendar cycles, all of which started together in 4713 BC. In the 19th century the astronomer John Herschel turned it into a simple day count for astronomy. It is named after Scaliger's father, Julius, not after Julius Caesar.

Is the Julian date code the same as the Julian calendar?

No. The YYDDD code just counts days within an ordinary Gregorian year, and it borrowed the word Julian loosely from the astronomers' day count. The Julian calendar is the calendar Julius Caesar introduced in 46 BC, still used by some Orthodox churches to date religious holidays.

Why does the calculator show year −584 instead of 585 BC?

Astronomers count years with a year 0, so arithmetic works across the BC/AD boundary: year 0 is 1 BC, year −1 is 2 BC, and year −584 is 585 BC. Historians have no year 0 and go straight from 1 BC to AD 1.

When did countries switch to the Gregorian calendar?

Catholic countries such as Spain, Portugal, Italy and Poland switched in October 1582. Britain and its colonies, including what became Canada and the United States, switched in September 1752, dropping 11 days. Russia changed in 1918 and Greece in 1923. A historical date needs the calendar in use at that place and time.

How do spreadsheets store dates?

As serial day numbers, much like a Julian Day with a different starting point. In Excel for Windows day 1 is 1 January 1900, so the serial number equals JD − 2,415,018.5 for dates after February 1900. Unix systems count seconds since 1 January 1970, which is JD 2,440,587.5.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy