Javascript Calendar Converter

To convert, simply enter in a date in one of the formats. When finished the date is automatically given in the other available formats. The weekday is then automatically given in the topmost fields.


Convert a Date

Weekday:

Gregorian Calendar Date:

Julian Calendar Date:

Calendar In Use On Above Date:

Julian Day (JD):

Indian Civil Calendar Date: 

Persian Calendar Date:


Convert Another Date

Weekday:

Gregorian Calendar Date:

Julian Calendar Date:

Calendar In Use On Above Date:

Julian Day (JD):

Indian Civil Calendar Date: 

Persian Calendar Date:


Miscellaneous

Difference between above two dates: days


Related links include: Calendars and Their History, Year Dating Conventions, Sky Events Calendar, and All about Time Zones and Universal Time.

  1. You must have Javascript enabled in your browser for this calculator to work. Requires Netscape 3.0 or Internet Explorer 3.0 or later for correct operation.
  2. All fields are editable. Change civil date to calculate Julian Day Number and day-of-week, or vice versa.
  3. After changing a text box, click outside of the calculator, or press tab, to update all other data. (Don't press return.)
  4. Auto mode is used, meaning that the civil calendar changes from Julian to Gregorian between 1582 October 4 and 1582 October 15. For Julian civil dates after that date, as in England and colonies until 1753, these dates must be converted to Gregorian dates first.

All calculations are embedded as JavaScript, so an exact copy of this page's source code will generally work from any server (no CGI script needed).

Special thanks to National Space Club summer intern Sumit Dutta for his valuable assistance in preparing the Julian Day and Civil Date Calculator (July 2007).

Permission is freely granted to reproduce this data when accompanied by an acknowledgment:

"Predictions by Fred Espenak, NASA's GSFC"

For more information, see: NASA Copyright Information.

2008 Mar 18