How to Convert Dates to Julian Date

Step-by-step method to convert a Gregorian or Julian calendar date to Julian Date (JD), Julian Day Number (JDN), or Modified Julian Date (MJD), and to convert any of those back to a calendar date.

  1. 1. Choose your conversion mode: Select the mode that matches what you have and what you want: Date → JD / JDN / MJD to convert a calendar date into a Julian date; JD / JDN / MJD → Date to go the other way; Gregorian ↔ Julian calendar for historical date conversion; or Ordinal for YYYYDDD, YYDDD, and day-of-year codes.
  2. 2. Enter the date and time: In the Date → JD mode, pick whether the date is written in the Gregorian or Julian calendar, then enter the year, month, day, and the time of day in Universal Time. If you only need a whole day, leave the time at noon UT so the JD comes out as a clean integer.
  3. 3. Set the decimal precision: Choose how many decimal places to show for JD and MJD, from 3 up to 10. Six decimals is enough for most work (about 0.09 seconds); use eight or more if you are working with sub-second timestamps.
  4. 4. Review the results: The calculator shows the Julian Date, the Julian Day Number, the Modified Julian Date, the day-of-year, the weekday, the YYYYDDD and YYDDD codes, and the equivalent dates in both the Gregorian and Julian calendars — along with the calculation steps so you can verify the result.
  5. 5. Convert back or explore epochs: Switch to JD / JDN / MJD → Date to turn a Julian date back into a calendar date, use the Reference epochs mode to see the distance from J2000.0, MJD 0, the Unix epoch, or the GPS epoch, or open Bulk convert to process a whole list of dates at once.

What Is a Julian Date Converter?

A Julian Date Converter is a tool that turns an ordinary calendar date — a Gregorian or Julian calendar date you would find on any wall calendar — into its Julian Date (JD), Julian Day Number (JDN), or Modified Julian Date (MJD), and then back again. If you have ever needed to convert date to Julian date for astronomy, software, or a manufacturing label, this calculator does the full round trip in one place.

Because a Julian date is a continuous count of days rather than a calendar with months and leap years, it makes time intervals trivial to work with — you simply subtract one number from another. That is why astronomers, satellite operators, geodesists, and even food and beverage producers all rely on Julian date conversion in some form.

Julian Date vs. Julian Day Number vs. Modified Julian Date

The three terms are related but not identical, and mixing them up is the most common source of confusion:

  • JD (Julian Date) — a continuous day count with a fractional part, so a specific time of day is encoded. JD 0.0 starts at noon Universal Time on 1 January 4713 BC in the proleptic Julian calendar.
  • JDN (Julian Day Number) — the integer part of that count, i.e. the day label for a whole day. JDN = floor(JD + 0.5).
  • MJD (Modified Julian Date) — MJD = JD − 2400000.5. It starts at midnight, not noon, which makes it far more convenient for modern software and satellite work.

This Julian day converter handles all three, and lets you switch between them without doing any arithmetic by hand.

Why JD Starts at Noon

Astronomers historically observed through the night, so a day that rolled over at midnight would break a single observing session in two. Starting the count at noon kept the entire night inside one Julian day. That is why civil noon is an integer JD and civil midnight is always a *.5 value.

Julian Calendar vs. Julian Date — Same Name, Different Things

The Julian calendar is a historical civil calendar introduced by Julius Caesar, with a leap day every four years. The Julian Date is an astronomical day count that has nothing to do with that calendar. The two share a name only by coincidence — the Julian Date is named after Joseph Scaliger, not Julius Caesar.

This julian calendar calculator supports both. You can convert a Julian calendar date (useful for historical documents and genealogy) to its modern Gregorian equivalent, and you can convert any civil date to an astronomical Julian date. The Gregorian ↔ Julian calendar mode is specifically for the first job; the Date → JD mode is for the second.

Julian Calendar Conversion Around the Reform

Before the Gregorian reform of 1582, most of Europe used the Julian calendar. The two calendars drift apart by roughly three days every four centuries, so a date like 10 October 1582 (Julian) corresponds to 20 October 1582 (Gregorian). When working with historical records, it is essential to know which calendar the original scribe was using — a date recorded as "January 1, 1500" means a different actual instant depending on whether the source was using the Julian or Gregorian reckoning.

This julian calendar translator lets you enter a date, choose which calendar it was written in, and see the equivalent in the other — perfect for genealogists, historians, and anyone working with pre-1752 English or colonial American records.

Industrial "Julian Dates": YYYYDDD and YYDDD

In manufacturing, logistics, and food production, "Julian date" almost never means the astronomical JD. It usually means an ordinal date — a year plus a day-of-year number from 001 to 366. Two common formats are used:

  • YYYYDDD — four-digit year followed by three-digit day-of-year, e.g. 2000001 for 1 January 2000.
  • YYDDD — two-digit year plus day-of-year, e.g. 00001.

These are not astronomical Julian dates and cannot be converted to JD without knowing the exact time of day, but this tool handles them too — with a clear label so you never mix the two systems up.

How to Calculate Julian Date

The standard algorithm for converting a Gregorian date to JDN is:

  1. Let a = floor((14 − month) / 12) and y = year + 4800 − a, m = month + 12a − 3.
  2. For a Gregorian date: JDN = day + floor((153m + 2) / 5) + 365y + floor(y/4) − floor(y/100) + floor(y/400) − 32045.
  3. For a Julian calendar date, drop the century and 400-year terms: JDN = day + floor((153m + 2) / 5) + 365y + floor(y/4) − 32083.
  4. Then JD = JDN − 0.5 + (hour + minute/60 + second/3600) / 24.

That is the arithmetic running under the hood of this calculator. You enter a date, the tool does the rest and shows the steps.

Common Uses for Julian Date Conversion

  • Astronomy — observation logs, star catalogs, and telescope scheduling all use JD or MJD so that timestamps are unambiguous across time zones and calendars.
  • Spacecraft and satellite operations — orbit determination, telemetry, and command sequencing often use MJD or a closely related epoch.
  • Software and databases — storing a single continuous day count avoids all the edge cases of calendar arithmetic (leap years, time zones, month lengths).
  • Genealogy and history — converting dates from parish registers, land deeds, and colonial records written in the Julian calendar into their modern Gregorian equivalents.
  • Manufacturing and food safety — interpreting YYYYDDD and YYDDD codes on packaging to recover the actual production date.
  • Scientific data analysis — many datasets publish timestamps as JD or MJD, and you need to convert them back to human-readable dates.

Reference Epochs You Will See

This converter can display distances from several standard epochs, all of which have a fixed Julian Date:

EpochJulian DateWhat it marks
JD 00.0Noon, 1 January 4713 BC (proleptic Julian calendar)
MJD 02400000.5Midnight, 17 November 1858
B1950.02433282.4235Old astronomical standard epoch
Unix epoch2440587.5Midnight, 1 January 1970 UTC
GPS epoch2444244.5Midnight, 6 January 1980 UTC
J2000.02451545.0Noon, 1 January 2000 — the modern astronomical standard

Practical Tips

  • Remember that JD rolls over at noon, not midnight. If you see JD 2451545.0, that is noon UT on 1 January 2000, not midnight.
  • Use MJD rather than JD when you want the day boundary to match the civil day — most software and satellite systems do.
  • When converting historical dates, always check which calendar the source used. A "January 1" in a 17th-century English document is a Julian calendar date.
  • Industrial YYYYDDD codes are not the same as astronomical JD. Label them clearly in any downstream system.
  • For sub-second precision, carry enough decimal places — JD 1 second ≈ 0.0000116 days, so six decimals gets you to roughly 0.09 seconds.

Frequently Asked Questions

Q: What is a Julian Date?

A Julian Date (JD) is a continuous count of days used mainly in astronomy. JD 0.0 is defined as noon Universal Time on 1 January 4713 BC in the proleptic Julian calendar. Because it never resets, a Julian Date unambiguously identifies a single instant — you can subtract two JD values to get the exact number of days between them.

Q: How do I convert a regular date to a Julian date?

Enter the calendar date and time in the Date → JD mode. The calculator computes the Julian Day Number from the year, month, and day, then adds the fractional part for the time of day. Both the JD and the derived MJD and JDN are shown, along with the steps used.

Q: What is the difference between JD, JDN, and MJD?

JD (Julian Date) includes a fractional part for the time of day and rolls over at noon UT. JDN (Julian Day Number) is the integer day label, equal to floor(JD + 0.5). MJD (Modified Julian Date) is JD − 2400000.5 and starts at midnight instead of noon, which makes it more convenient for most modern software and satellite systems.

Q: Why does the Julian Date start at noon instead of midnight?

Astronomers observing through the night did not want the day count to roll over in the middle of a session. Starting the count at noon keeps an entire night of observations inside a single Julian day. As a result, civil noon is always an integer JD, and civil midnight is always a value ending in .5.

Q: Is the Julian Date the same as the Julian calendar?

No — the two share a name but are unrelated. The Julian calendar is the historical civil calendar introduced by Julius Caesar, with a leap day every four years. The Julian Date is an astronomical day count named after Joseph Scaliger. This calculator supports both, with separate modes for each.

Q: How do I convert between the Julian calendar and the Gregorian calendar?

Use the Gregorian ↔ Julian calendar mode. Enter the date, choose which calendar it was originally written in, and the calculator shows the equivalent date in the other calendar. This is useful for historical records, genealogy, and any source written before the Gregorian reform of 1582 (or later, in countries that adopted it late).

Q: What is the Gregorian reform of 1582?

In October 1582, Pope Gregory XIII introduced a revised calendar to correct the drift that had accumulated in the Julian calendar. Ten days were skipped: the day after Thursday 4 October 1582 (Julian) was Friday 15 October 1582 (Gregorian). Most Catholic countries adopted it immediately; Protestant and Orthodox countries adopted it later, some as late as the 20th century.

Q: What are YYYYDDD and YYDDD "Julian dates"?

In manufacturing and food production, "Julian date" usually means an ordinal code — a year plus a day-of-year number between 001 and 366. YYYYDDD uses a four-digit year (e.g. 2000001 for 1 January 2000), while YYDDD uses a two-digit year (e.g. 00001). These are not astronomical Julian dates and cannot be converted to JD without knowing the time of day, but this calculator handles them as a separate, clearly labeled format.

Q: Can I convert a Julian date back to a normal calendar date?

Yes. Switch to the JD / JDN / MJD → Date mode, choose which type of value you are entering, and paste the number. The calculator returns the equivalent Gregorian date and time in UT, plus the Julian calendar equivalent and the day-of-year.

Q: What is the J2000.0 epoch?

J2000.0 is the modern astronomical standard epoch, defined as noon Universal Time on 1 January 2000 — exactly JD 2451545.0. Star catalogs, orbital elements, and reference frames are often expressed relative to J2000.0, so knowing the offset between your date and J2000.0 is essential for many astronomical calculations.

Q: How precise can the Julian Date be?

The Julian Date itself is exact; the precision of your input and output is what limits you. One second of time is approximately 0.0000116 days, so six decimal places of JD is accurate to about 0.09 seconds, and eight decimal places to about a millisecond. You can choose 3 to 10 decimal places in the calculator.

Q: Does the Julian Date account for time zones?

The Julian Date is defined in Universal Time (UT), which is essentially the same as UTC for most practical purposes. This calculator treats all input times as UT. If you have a local time, convert it to UT (or UTC) before entering it, or the resulting JD will be offset by your time zone.

Q: Can I calculate the difference between two dates in Julian days?

Yes. Use the Date / JD arithmetic mode and select "Difference between two dates." Enter both dates and the calculator returns the difference in Julian days, in hours, and in the underlying JD values — a straightforward way to measure elapsed time without worrying about month lengths or leap years.

Q: Can I add or subtract days from a date using Julian Date?

Yes. In the Date / JD arithmetic mode, choose "Add / subtract days from date," enter your starting date and the number of days (positive to add, negative to subtract), and the calculator returns the resulting date and its JD.

Q: What is the Modified Julian Date used for?

MJD is widely used in satellite operations, geodesy, and software because it starts at midnight rather than noon, so the day boundary matches the civil day. Many spacecraft telemetry formats and orbit determination systems use MJD or a closely related epoch, and MJD 0 corresponds to midnight on 17 November 1858.

Q: Does the calculator handle BC dates?

Yes. The Julian Date system extends backward into the proleptic Julian calendar, and this converter supports years down to −4713. Dates before year 1 are displayed with a "BC" suffix so the era is unambiguous.

Q: Why does the calculator show a day-of-year value?

Day-of-year (DOY) is the ordinal position of a date within its year, from 1 to 365 or 366. It is the value used in the industrial YYYYDDD and YYDDD formats, and it is also convenient for plotting annual data, comparing dates across different years, and aligning daily time series.

Q: Can I convert many dates at once?

Yes. The Bulk convert mode accepts one date, JD, or ordinal code per line and returns the converted value for each. This is useful for converting a column of timestamps from a spreadsheet or a log file without repeating the calculation manually.

Q: Does the Julian Date ever reset?

No. The Julian Date is a monotonically increasing count that has never been reset since its defined origin at JD 0.0. That is precisely why it is used in astronomy and spaceflight — there is no year boundary, no leap day, and no calendar reform to worry about when comparing two instants.

Q: Is the Julian Date the same as the astronomical Julian year?

No. A Julian year is a unit of time equal to exactly 365.25 days, used in some astronomical formulas. A Julian Date is a day count. They are related but distinct concepts, and neither should be confused with the Julian calendar.

Loaded shared calculation