# Julian Date Converter (Day of Year and JD)

URL: https://speedycalculator.com/calculators/everyday-life/julian-date/
Last updated: 2026-11-25

> 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.

## Inputs

- Convert
- Date
- Time (UTC, for the Julian Day)
- Julian code (YYDDD or YYYYDDD)
- Julian Day number

## Results

- Day of the year
- YYYYDDD code
- YYDDD code
- Julian Day (astronomical)
- Modified Julian Date
- Days left in the year
- Calendar date
- Day of the week
- Calendar date (UTC)
- Time of day (UTC)

## 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
```

## Explanation

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

- **Convert**
- **Date**
- **Time (UTC, for the Julian Day)**
- **Julian code (YYDDD or YYYYDDD)**
- **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

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

### Inputs explained

FieldWhat to enterConvertChoose one: Calendar date to Julian date, YYDDD or YYYYDDD code to date, Julian Day number to dateDateA dateTime (UTC, for the Julian Day)A clock time (hours and minutes)Julian code (YYDDD or YYYYDDD)A numberJulian Day numberA 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

## 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.

## FAQ

**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

- [U.S. Naval Observatory: Julian Date converter and explanation](https://aa.usno.navy.mil/data/JulianDate)
- [NASA Jet Propulsion Laboratory: Julian Date converter](https://ssd.jpl.nasa.gov/tools/jdc/)
