Date & Time
Julian Date & Day-of-Year Converter
Convert a calendar date to the astronomical Julian Day Number, Modified Julian Date and the ordinal 'Julian date' (YYDDD / day of year) used in manufacturing and the military.
How to use
- 1Enter a date to convert.
- 2Or enter a YYDDD / YYYYDDD code to get the calendar date back.
How it's calculated
Julian Day Number = days since noon UTC on 1 January 4713 BC (proleptic Julian calendar); MJD = JD − 2,400,000.5. Ordinal date = year + day of year (001–366).
Frequently asked questions
Why are there two meanings of 'Julian date'?
Astronomers use the continuous Julian Day count; food packaging and the military often use 'Julian date' to mean the ordinal day of the year, like 26045 for 14 Feb 2026.
When does a Julian day start?
At noon UTC, a convention from astronomers who observed at night.
Is this related to the Julian calendar?
Only by name — the Julian Day count was named after Joseph Scaliger's father, Julius, not the calendar.
Two things that share a name and nothing else
Astronomers' Julian Day Number is a single ever-increasing count of days since noon UTC on 1 January 4713 BC in the proleptic Julian calendar — useful because it turns any date arithmetic into plain subtraction, with no months or leap years to worry about. The 'Julian date' stamped on a food package or military order is something else entirely: just the year plus the day-of-year, like 26045 for the 45th day of 2026. The name is shared only because Joseph Scaliger named the astronomical system after his father Julius in the 16th century — it isn't tied to the Julian calendar at all.
Worked example: Julian Date & Day-of-Year Converter
1 January 2000 at 00:00 UTC has Julian Day 2451544.5 (the .5 appears because JD 2451545.0 is actually noon that day — the astronomical convention of starting the count at midday, inherited from nighttime observing schedules) and Modified Julian Date 51544 (MJD = JD − 2,400,000.5, a 1950s convention that moved the epoch to midnight and shaved five digits off the number). The same date's ordinal form is 00001 — year 2000, day 1. Going the other way, the code 26045 decodes to Saturday, 14 February 2026: year 2026, the 45th day.
Why Modified Julian Date's epoch is such an odd-looking date
Subtracting exactly 2,400,000.5 from a Julian Day Number lands the new epoch (MJD 0) at midnight UTC on 17 November 1858 — not a date with any obvious historical significance, chosen instead purely because it fell close enough to when the system was introduced in the late 1950s to keep the numbers conveniently short (five digits instead of seven) for decades to come. It's a reminder that MJD's zero point isn't meaningful the way, say, the Unix epoch of 1 January 1970 is — it's an arbitrary offset picked for numeric convenience, nothing more.
A 5-digit code is always read as the 21st century
When decoding a YYDDD code, a 2-digit year is always expanded by adding 2000 to it — so 26045 becomes 2026, and there's no branch that would ever read a short code as belonging to 1926 or 1999. That mirrors how the format is actually used in practice (a can of food packed in the 1900s wouldn't still be tracked by a code reader today), but it does mean this tool can't correctly decode a genuinely old 2-digit Julian date from the previous century — for that, the 7-digit YYYYDDD form with the full year spelled out is the only unambiguous option.
Related tools
- Week Number & Day of the Week Finder
Find the ISO week number, day of the week, day of the year and quarter for any date — and the dates of any week number.
- Holiday Countdown (Christmas, New Year, Easter…)
How many days until Christmas, New Year, Easter, Halloween, Thanksgiving, Valentine's Day, Mother's Day and more — or a countdown to any date you choose.
- Retirement Date Calculator
Find the date you'll reach retirement age — any age you choose or your US Social Security full retirement age — and how long there is to go.
- Leap Year & Season Dates Calculator
Check whether a year is a leap year, and find the dates of the March and September equinoxes and June and December solstices — the astronomical start of each season.
- Half Birthday & Anniversary Calculator
Find your half birthday, how long you've been together, your next anniversary and the traditional anniversary gift for each year.
- Zodiac Sign & Chinese Zodiac Calculator
Find your Western star sign from your birth date and your Chinese zodiac animal and element from your birth year.