Julian Date Converter (Day of Year and JD)

Quick answer

The Julian date converter turns a calendar date into its day of the year and the YYDDD and YYYYDDD codes used on food, military and manufacturing labels, and into the astronomical Julian Day Number, and converts those codes back to a date.

Day of the year
323
YYYYDDD code
2026323
YYDDD code
26323
Julian Day (astronomical)
2,461,364
Modified Julian Date
61,363.5
Days left in the year
42

The words “Julian date” mean two different things. On food packaging, military paperwork and in manufacturing, a Julian date is the day of the year, often written with the year in front: 26323 or 2026323 is the 323rd day of 2026, which is 19 November. Astronomers use the Julian Day, a running count of days since noon on 1 January 4713 BC, so one number pins down any moment without months or time zones.

How to use the Julian Date Converter

  1. Convert
  2. Date
  3. Time (UTC, for the Julian Day)
  4. Julian code (YYDDD or YYYYDDD)
  5. Julian Day number

Results update as you type, and every field accepts the units shown in its menu.

How it works

Choose what you have, then enter the date (and time for the astronomical Julian Day), the YYDDD or YYYYDDD code, or the Julian Day number.

Day of year table for the 1st of each month

Month Common year Leap year
January 001 001
February 032 032
March 060 061
April 091 092
May 121 122
June 152 153
July 182 183
August 213 214
September 244 245
October 274 275
November 305 306
December 335 336

Add the day of the month minus one. 19 November in a common year is 305 + 18 = 323.

Inputs explained

Field What to enter
Convert Choose one: Calendar date to Julian date, YYDDD or YYYYDDD code to date, Julian Day number to date
Date A date
Time (UTC, for the Julian Day) A clock time (hours and minutes)
Julian code (YYDDD or YYYYDDD) A number
Julian Day number A number

What each result means

  • Day of the year = dayofyear([Date])
  • YYYYDDD code = year([Date])×1000 + dayofyear([Date])
  • YYDDD code = mod(year([Date]), 100)×1000 + dayofyear([Date])
  • Julian Day (astronomical) = [Date] + [Time (UTC, for the Julian Day)]÷24 + 2440587.5
  • Modified Julian Date = [Date] + [Time (UTC, for the Julian Day)]÷24 + 40587
  • Calendar date = date([Year], 1, 1) + mod([Julian code (YYDDD or YYYYDDD)], 1000) – 1
  • Day of the week = weekday([Calendar date])
  • Calendar date (UTC) = floor([Julian Day number] – 2440587.5)
  • Time of day (UTC) = ([Julian Day number] – 2440587.5 – floor([Julian Day number] – 2440587.5))×24

Formula

Day of year = days since 1 January + 1 YYYYDDD = year × 1000 + day of year (YYDDD uses the last two digits of the year) Julian Day = days since 1 January 1970 + 2,440,587.5 (+ time of day ÷ 24, UTC) Modified Julian Date = JD − 2,400,000.5

Worked example

Inputs: Convert: Calendar date to Julian date; Date: 2026-11-19; Time (UTC, for the Julian Day): 12:00.
Results: Day of the year = 323; YYYYDDD code = 2026323; YYDDD code = 26323; Julian Day (astronomical) = 2,461,364; Modified Julian Date = 61,363.5; Days left in the year = 42.

Key terms

Ordinal date
A date written as year plus day of the year, such as 2026-323 (ISO 8601).
Julian Day (JD)
Days since noon UTC on 1 January 4713 BC in the proleptic Julian calendar.
Modified Julian Date (MJD)
JD minus 2,400,000.5, so days start at midnight and the numbers are shorter.
Leap year
A year with 366 days, which shifts every day of the year after 28 February by one.

Frequently asked questions

What is today's Julian date?

Choose "Calendar date to Julian date" and enter today's date. For 19 November 2026 the day of the year is 323, so the codes are 26323 and 2026323.

How do I read a Julian date on food packaging?

Take the last three digits as the day of the year and the digits before them as the year. 25045 is the 45th day of 2025, which is 14 February 2025.

What is the Julian Day number?

A continuous day count used in astronomy, starting at noon on 1 January 4713 BC. Noon UTC on 19 November 2026 is JD 2,461,364.0.

Why does the Julian Day start at noon?

So that a night of astronomical observations falls on a single day number.

Is the Julian date the same as the Julian calendar?

No. The Julian calendar is the older calendar that the Gregorian calendar replaced. Julian dates and Julian Days are counting systems used with ordinary Gregorian dates.

Sources

  1. U.S. Naval Observatory: Julian Date converter and explanation
  2. NASA Jet Propulsion Laboratory: Julian Date converter

Cite this calculator

Speedy Calculator. (2026). Julian Date Converter (Day of Year and JD). Speedy Calculator. https://speedycalculator.com/calculators/everyday-life/julian-date/

Embed this calculator on your website

Free for blogs, schools and businesses. Paste this code where the calculator should appear; it stays up to date automatically.