Saved

Press the star next to a tool's name to save it.

All my tools

Julian Date Converter

Use this julian date converter to turn a calendar date and UTC time into a Julian Date, Julian Day Number and Modified Julian Date, or turn a Julian Date back into a calendar date. It also gives the ordinal day of the year.

Restored your last values ·

Choose the direction. For a date, type YYYY-MM-DD and an optional time in UTC (HH:MM or HH:MM:SS); a blank time means midnight. For a Julian Date, type the number.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Enter a date or a Julian Date, then press Calculate.

What this julian date converter does

This julian date converter changes a calendar date into the numbers astronomers, programmers and logistics teams use for counting days. It gives the Julian Date, the Julian Day Number, the Modified Julian Date and the day of the year in the compact YYDDD and YYYYDDD forms. It also works in reverse: type a Julian Date and it returns the calendar date and time in UTC.

Two meanings of "Julian date"

The words are used in two different ways, so check which one you need.

  • The astronomical Julian Date is a continuous count of days and fractions of a day. Julian day number 0 is assigned to the day starting at noon Universal Time on 1 January 4713 BC in the proleptic Julian calendar. [1]
  • The ordinal "Julian date" used on food labels, military records and some software is a year and a day of the year, such as 26324 for the 324th day of 2026. It has nothing to do with the Julian calendar.

This tool gives both, each with its own label, so you can copy the one you need.

Definitions and formulas

The Julian Date of a moment is the Julian Day Number plus the fraction of a day since the preceding noon in Universal Time. [1] Because the count starts at noon, midnight falls on a half: JD 2451544.5 is midnight at the start of 1 January 2000 and JD 2451545.0 is noon on that day.

The Modified Julian Date is defined as MJD = JD − 2400000.5. [1] It starts at midnight, which makes it easier to read: the whole number is the date and the fraction is the time since midnight. The conversion between a calendar date and JD in this tool is exact day arithmetic from the Unix epoch, where 1 January 1970 00:00 UTC is JD 2440587.5. That anchor is our own working, checked against the Wikipedia value of 2451545.0 for noon on 1 January 2000. [1]

How to use it

  1. Choose Calendar date to Julian Date or the reverse.
  2. For a date, type the date as YYYY-MM-DD. Add a UTC time such as 18:00 if you need the fraction; leave it blank for midnight.
  3. For the reverse direction, type the Julian Date, for example 2451545 or 2461365.25.
  4. Press Calculate and copy the number you need.

Worked example

Take 20 November 2026 at 18:00 UTC. Midnight at the start of that day is JD 2461364.5. Six hours is a quarter of a day, so the Julian Date is 2461365.25. The Modified Julian Date is 61364.75. The Julian Day Number shown here is the whole number for that calendar date, which is the Julian Date at noon of the day, so it is 2461365 for any time on 20 November 2026 (this is our own convention, matching common use). The date is the 324th day of 2026, so the YYDDD code is 26324 and the YYYYDDD code is 2026324.

InputJDMJDYYDDD
2000-01-01 12:00 UTC2451545.0000051544.5000000001
2000-01-01 00:00 UTC2451544.5000051544.0000000001
2026-11-20 18:00 UTC2461365.2500061364.7500026324
2026-12-31 00:00 UTC2461405.5000061405.0000026365

Where these numbers are used

  • Astronomy: observation logs and ephemerides use JD so that dates are one number with no month lengths or leap years to worry about.
  • Software and data: Modified Julian Date appears in satellite, timing and scientific data files.
  • Food and manufacturing: packaging often prints a YYDDD code for the production date.
  • Records: some government and military systems store dates as a year plus a day number.

Tips and common mistakes

  • Mixing up noon and midnight. JD starts days at noon, MJD at midnight. A midnight date has a fraction of .5 in JD.
  • Using local time. Convert to UTC first, because this page treats every time as UTC.
  • Forgetting leap years. The day of the year for 1 March is 60 in a common year and 61 in a leap year; the tool handles this for you.
  • Treating a YYDDD code as a calendar date. Two digits of year are ambiguous across centuries, so use the YYYYDDD form when you need to be sure.
  • Using dates before 1582 and expecting historical Julian-calendar dates. This tool uses the proleptic Gregorian calendar throughout.

Converting by hand

You can check the tool with simple arithmetic. Every day adds exactly 1 to the Julian Date, and every hour adds 1/24, or 0.041667. Start from a known anchor, such as JD 2451545.0 at noon on 1 January 2000, and count days forward or back. From that noon to noon on 20 November 2026 is 9,820 days, so the Julian Date at that noon is 2451545 plus 9,820, which is 2461365, and 18:00 adds a quarter-day. That is a useful sanity check if a spreadsheet or script gives you a surprising value.

A common mistake in spreadsheets is to add 2415018.5 to a date serial and forget that the serial counts local days. This tool always works in UTC, so use it when the exact instant matters, for example when you match a log file with an observing schedule.

Precision

Results are shown to five decimal places, which is about a second of time. Entered Julian Dates are rounded to the nearest second when converted back to a calendar date.

What next

Use this often? Add Julian Date to your Home screen.

Frequently asked questions

How do I use a julian date converter for a normal date?

Choose Calendar date to Julian Date, type the date as YYYY-MM-DD, add a UTC time if you need one and press Calculate. The Julian Date, MJD and day-of-year codes appear together.

What is the Julian Date of noon on 1 January 2000?

It is 2451545.0. Midnight at the start of the same day is 2451544.5.

How is the Modified Julian Date calculated?

MJD equals JD minus 2400000.5. It starts at midnight, so a date at midnight has a whole-number MJD.

What does a YYDDD code mean?

It is a two-digit year followed by the day of the year from 001 to 366. For example, 26324 is the 324th day of 2026.

Does the tool use my time zone?

No. Every time is read as UTC. Convert a local time to UTC before you enter it.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Unit Converters