To convert a date to a Julian date, or a Julian date back to a date, use the Julian date converter. It gives the Julian day number, the Julian date at midnight, the modified Julian date and the YYDDD form. This guide explains which one you need.

The three meanings of Julian date

Meaning What it is 2 November 2026
Julian day number (JDN) / JD A running count of days used in astronomy 2461346.5 at midnight UTC, 2461347 at noon
Julian date in business (YYDDD) Year and day of the year, used on food and pharma labels, in manufacturing and in mainframes 26306 (or 2026306)
Julian calendar The calendar Julius Caesar introduced in 45 BC 20 October 2026 in the Julian calendar

Ask where the number came from. A 5 or 7 digit number with no decimal point is a day-of-year code. A 7 digit number with a decimal part, such as 2461346.5, is an astronomical Julian date.

Julian day number: the astronomers’ day count

Astronomers need one continuous count of days, with no months or leap years to get in the way. The Julian day number gives every day a whole number, counted from day 0, which began at noon UTC on 1 January 4713 BC in the Julian calendar.

The Julian date (JD) adds the time as a fraction. Because each Julian day starts at noon, midnight is a half day: a JD ending in .5 is midnight, and one ending in .0 is noon.

Some fixed points:

Moment Julian date
1 January 2000, 12:00 UTC (the J2000 epoch) 2451545.0
1 January 1970, 00:00 UTC (Unix epoch) 2440587.5
2 November 2026, 00:00 UTC 2461346.5
2 November 2026, 12:00 UTC 2461347.0

Formulas

  • Julian date = days since 1 January 1970 + 2,440,587.5 (at midnight UTC).
  • Julian day number = days since 1 January 1970 + 2,440,588 (at noon UTC).
  • Modified Julian date (MJD) = JD − 2,400,000.5. It has smaller numbers and starts at midnight. 2 November 2026 is MJD 61346.

Worked example: 2 November 2026 is 20,759 days after 1 January 1970. Add 2,440,587.5 and you get 2,461,346.5 for midnight, and add 2,440,588 for the day number at noon, 2,461,347.

Because the count is continuous, the days between two dates is simply the difference of their Julian day numbers.

Julian date in business: the YYDDD code

In food packaging, medicine, manufacturing and many older computer systems, “Julian date” means the year followed by the day of the year, counted from 1 January as 001.

  • YYDDD uses a two digit year: 2 November 2026 is the 306th day of 2026, so it is 26306.
  • YYYYDDD uses a four digit year: 2026306.

To find the day of the year in a normal year, add up the days of the earlier months. For 2 November: 31 + 28 + 31 + 30 + 31 + 30 + 31 + 31 + 30 + 31 = 304 days to the end of October, plus 2 gives 306. In a leap year the count is one higher from March onward.

In Excel or Google Sheets, with a date in A1:

What you want Formula
Day of the year =A1-DATE(YEAR(A1),1,0)
YYDDD =TEXT(A1,"yy")&TEXT(A1-DATE(YEAR(A1),1,0),"000")
YYYYDDD =YEAR(A1)&TEXT(A1-DATE(YEAR(A1),1,0),"000")

To go back from a YYYYDDD code, take the year and add the day number: =DATE(2026,1,306) gives 2 November 2026, because day 306 of January rolls over into the right month.

The Julian calendar is something else

The Julian calendar is the old calendar with a leap year every 4 years. It drifted from the seasons, and in 1582 Pope Gregory XIII replaced it with the Gregorian calendar we use now. Between 1900 and 2100 the Julian calendar is 13 days behind, so 2 November 2026 in our calendar is 20 October 2026 in the Julian one. Some Orthodox churches still date feasts by it.

Dates before the switch were recorded in the Julian calendar, which is why historical dates in different countries can differ by days. See leap year rules for how the two calendars handle leap years.

Which one should you use?

  • Astronomy, satellites, scientific data: Julian date or modified Julian date.
  • Labels, batch codes and old business systems: YYDDD or YYYYDDD.
  • Days between two dates: either works, but the days between dates calculator needs no codes at all.