⚡FreeFastCalculatorAll calculators

Julian Date Converter (Day of Year & JD)

Convert a calendar date to Julian date: day-of-year codes (YYDDD) for packaging and military, astronomical JD and MJD, and back, with a day-of-year calendar.

Updated · Written and fact-checked by the FreeFast editorial team · Free, no sign-up

Julian Date (JD)2,461,310
Julian Day Number (JDN)2,461,310
Modified Julian Date (MJD)61,309.5
Day of year269 of 365
YYDDD (ordinal “Julian date”)26269
YYYYDDD2026269
YDDD (military document no.)6269
Same day on the Julian calendarSep 13, 2026

Today, Saturday, September 26, 2026, is day 269 of 2026: Julian date 26269 (YYYYDDD 2026269). The astronomical Julian Date at 0h UT is 2,461,309.5, and the Julian Day Number that begins at noon UT today is 2,461,310.

“Julian date” means either an astronomer's running day count (JD) or a day-of-year code such as 26269; the box above shows both for today. This converter turns any calendar date into the astronomical Julian Date (JD), Julian Day Number (JDN) and Modified Julian Date (MJD), and into the YYDDD, YYYYDDD and YDDD day-of-year codes printed on packaging and military forms. It converts back the other way, too — useful if you are reading a pack date, filling in an Army document number or checking an observation time.

How to use this calculator

  1. Pick what you have: a calendar date, an astronomical Julian Date, or a day-of-year code.
  2. For a date, enter it (it defaults to today) and optionally a time in Universal Time. The JD day starts at noon UT, so leave 12 to get a whole number.
  3. Read the JD, JDN and MJD, the day of the year and each ordinal code, plus the same day's date on the old Julian calendar.
  4. For a code, type 5 digits (YYDDD, read as 20YY) or 7 digits (YYYYDDD). Day numbers past 365 in a common year are rejected.

Three kinds of “Julian date”

1. Astronomical Julian Date (JD)

The U.S. Naval Observatory defines Julian dates as “a continuous count of days and fractions since noon Universal Time on January 1, 4713 BC (on the Julian calendar).” Fractions are the time of day: 6 pm UT is 0.25 of a day after noon. The Julian Day Number is the whole-number part, the day that begins at noon.

2. Ordinal date (day of year)

In manufacturing, food packaging and the military, “Julian date” usually means the day of the year, 001 to 365 or 366, often with the year in front. Today's is 26269 (two-digit year) or 2026269 (four-digit year). Strictly this is an ordinal date, not a Julian date, but the name is standard on the shop floor.

3. The Julian calendar

The Julian calendar has a leap year every four years without exception. The Gregorian calendar, introduced by Pope Gregory XIII in 1582, drops the leap day in century years unless they divide by 400 (USNO, Introduction to Calendars). USNO's converter uses the Julian calendar up to 4 October 1582 and the Gregorian calendar from 15 October 1582, the next day.

Formulas

JD = days since 1 January 1970 0h UT + 2,440,587.5. The calculator counts days with the proleptic Gregorian calendar, then adds the fraction for the time of day. It matches the USNO worked example (11 August 1877 at 7:30 UT = JD 2,406,842.8125) and NASA Goddard's table (1 January 2010, 0h UT = JD 2,455,197.5).

  • JDN = JD at noon UT on the date = JD at 0h + 0.5.
  • MJD = JD − 2,400,000.5 (USNO).
  • Day of year = days since January 1 of the same year + 1.
  • YYDDD = last two digits of the year, then the day of year padded to three digits. YDDD uses only the last digit of the year.

Worked examples

Today at 6 pm UT

September 26, 2026 at 0h UT is JD 2,461,309.5. Adding 18 hours (0.75 of a day) gives JD 2,461,310.25, MJD 61,309.75.

March 15, 2026 as a packaging code

January (31) + February (28) + 15 = day 74, so the code is 26074 or 2026074. In a leap year such as 2028 the same date is day 75.

Reading code 24366

2024 was a leap year, so day 366 exists: it is December 31, 2024. Code 25366 is invalid because 2025 had 365 days.

The 1582 switch

4 October 1582 on the Julian calendar is JD 2,299,159.5 at 0h UT, and the next day was 15 October 1582 on the Gregorian calendar, JD 2,299,160.5 (USNO). The Julian Day count kept running without a gap even though 10 calendar dates were skipped.

Julian Date on January 1 of each year

JD at 0h UT on January 1 and the JDN that starts at noon that day. Add the day of year − 1 to get any other date.

YearJD (Jan 1, 0h UT)JDNMJDDays in year
20202,458,849.52,458,85058,849366
20212,459,215.52,459,21659,215365
20222,459,580.52,459,58159,580365
20232,459,945.52,459,94659,945365
20242,460,310.52,460,31160,310366
20252,460,676.52,460,67760,676365
20262,461,041.52,461,04261,041365
20272,461,406.52,461,40761,406365
20282,461,771.52,461,77261,771366
20292,462,137.52,462,13862,137365
20302,462,502.52,462,50362,502365
20312,462,867.52,462,86862,867365
20322,463,232.52,463,23363,232366
20332,463,598.52,463,59963,598365
20342,463,963.52,463,96463,963365
20352,464,328.52,464,32964,328365

Julian date codes for common dates

Day-of-year numbers and the five-digit code for fixed dates this year, with the day number they take in a leap year (2028) for comparison.

DateDay (2026)Code 2026Day in a leap year
New Year's Day1260011
Valentine's Day452604545
March 1602606061
April 1510526105106
July 418526185186
September 124426244245
October 3130426304305
December 2535926359360
December 3136526365366

Day-of-year calendar for 2026

Find the day in the left column and the month across the top. 2026 is not a leap year, so December 31 is day 365.

DayJanFebMarAprMayJunJulAugSepOctNovDec
1001032060091121152182213244274305335
2002033061092122153183214245275306336
3003034062093123154184215246276307337
4004035063094124155185216247277308338
5005036064095125156186217248278309339
6006037065096126157187218249279310340
7007038066097127158188219250280311341
8008039067098128159189220251281312342
9009040068099129160190221252282313343
10010041069100130161191222253283314344
11011042070101131162192223254284315345
12012043071102132163193224255285316346
13013044072103133164194225256286317347
14014045073104134165195226257287318348
15015046074105135166196227258288319349
16016047075106136167197228259289320350
17017048076107137168198229260290321351
18018049077108138169199230261291322352
19019050078109139170200231262292323353
20020051079110140171201232263293324354
21021052080111141172202233264294325355
22022053081112142173203234265295326356
23023054082113143174204235266296327357
24024055083114144175205236267297328358
25025056084115145176206237268298329359
26026057085116146177207238269299330360
27027058086117147178208239270300331361
28028059087118148179209240271301332362
29029088119149180210241272302333363
30030089120150181211242273303334364
31031090151212243304365

Common mistakes

  • Mixing up the three meanings. A code like 26269 is a day of year; a number like 2,461,310 is an astronomical Julian Day. Neither is a date on the Julian calendar.
  • Forgetting leap years. From March 1 on, every day-of-year number is one higher in a leap year.
  • Local time vs UT. Julian Dates are in Universal Time. 9 pm in New York during daylight saving time (UTC−4) is already the next UT day.
  • Treating JD as starting at midnight. A whole JD number falls at noon UT; midnight ends in .5.
  • Reading a pack date as an expiry date. A Julian code on eggs or cans shows when the item was packed, not when it goes off.

To count days between two calendar dates, use the days from today calculator; for 24-hour times, the military time converter.

Frequently asked questions

What is the Julian date today?

It depends which "Julian date" you mean. As a day-of-year code, today (September 26, 2026 when this page was built) is 26269, or 2026269 with a four-digit year. As an astronomical Julian Date it is 2,461,309.5 at midnight UT. The calculator shows your own today.

What is a Julian calendar date?

Three different things share the name. (1) The astronomical Julian Date (JD), a running count of days since noon Universal Time on 1 January 4713 BC, used by astronomers (USNO). (2) The ordinal date or day-of-year code such as 26269, used on food packaging and in military logistics. (3) A date on the Julian calendar, the Roman calendar replaced by the Gregorian calendar from 1582, which today runs 13 days behind.

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

For a day-of-year code like 26045, split off the year (26 = 2026) and the day (045), then count 45 days from January 1: February 14, 2026. For an astronomical JD, subtract 2440587.5 to get days since 1 January 1970 0h UT, or enter it in the calculator above.

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

The last three digits are the day of the year the item was packed: 001 is January 1 and 365 (366 in a leap year) is December 31. Egg cartons with the USDA grade shield show the pack date this way, per the U.S. Army Public Health Center food dating guide. Digits before it, if any, are usually the year; other letters are plant or lot codes.

What does a military Julian date look like?

On U.S. Army supply document numbers the Julian date is four digits: the last digit of the year followed by the three-digit day of the year. PS Magazine's example: a request completed 14 July 2006 has Julian date 6195. Today's would be 6269.

What day of the year is it?

On September 26, 2026 it is day 269 of 2026, with 96 days left. In a leap year every date from March 1 on has a number one higher, so the same code can mean different dates in different years — always check which year it belongs to. The day-of-year calendar below gives every date.

Why does the Julian Date end in .5 at midnight?

Because the USNO definition counts days from noon Universal Time, not midnight. A whole JD number falls at noon UT and midnight ends in .5: 1 January 2000 at 0h UT is JD 2,451,544.5, and noon that day is JD 2,451,545.0.

What is the Modified Julian Date (MJD)?

MJD = JD − 2400000.5 (USNO). It starts at midnight instead of noon and uses smaller numbers: MJD 0 is 17 November 1858, 0h UT, and September 26, 2026 is MJD 61,309.

What is J2000?

J2000.0 is the standard astronomical reference epoch: Julian Date 2,451,545.0 TT, which is 2000 January 1 at 12h Terrestrial Time (about 11:58:56 UTC), per the U.S. Naval Observatory.

How far apart are the Julian and Gregorian calendars?

13 days at present. The Julian calendar adds a leap day every 4 years; the Gregorian calendar skips it in century years not divisible by 400 (USNO). The gap was 10 days when the Gregorian calendar started on 15 October 1582, and grows to 14 days from 1 March 2100 (Gregorian).

Sources & method

Results are estimates for general information. Found an error? It helps everyone — see our methodology.

Related calculators