How conversion works
Each calendar is converted to and from a single count of days (the “fixed day” or Rata Die method described by Reingold and Dershowitz in Calendrical Calculations). To convert a Nepali date to a Hebrew date, for example, the converter finds the day number of the Nepali date and then the Hebrew date of that day number. Because the calendars share that day count, the tool can show the equivalent wherever their supported ranges overlap.
Calendars fall into two groups. Arithmetic calendars (Gregorian, Julian, Hebrew, Ethiopian, Coptic, tabular Islamic, Persian, Japanese era, Thai) use rules within stated date ranges. Table-based calendars (Nepali, Umm al-Qura Hijri and Chinese lunar) depend on astronomical or official decisions, so the converter uses published tables and only covers the years those tables include.
How results are tested
Tests compare the supported dates within 1900–2100 against Temporal’s calendar implementation in Node.js. This includes fixed Hebrew, Persian, Ethiopian, Coptic and tabular Islamic dates, the supported Chinese table, Japanese eras, and Thai years from 1941. Umm al-Qura agrees on the tested dates in 1420–1449 AH. Other tests cover month lengths, backward and forward conversion, and known dates such as New Year and leap months.
Nepali (Bikram Sambat)
Nepali months follow the sun’s entry into each zodiac sign according to the traditional panchang, so their lengths (29 to 32 days) cannot be calculated with a simple rule. Each year’s calendar is approved by the Nepal Panchanga Nirnayak Samiti.
- Range: 1978–2090 BS. Anchor: 1 Baisakh 2000 BS = 14 April 1943.
- Month lengths were compiled from four independently maintained published tables. All four agree on every month from 2000 to 2083 BS. For three earlier years the tables disagree by a day in one month, and the majority value is used.
- Years after 2083 BS are marked projected. They are updated each year when the new official calendar is published.
Hijri (Islamic)
- Umm al-Qura (default): the official civil calendar of Saudi Arabia, from a published month-by-month table covering 1356–1500 AH. Before 1420 AH the table follows the historical calendars as published at the time, which used different rules from today’s; it therefore differs from some modern calculations for those years.
- Tabular: the arithmetic 30-year cycle with leap years 2, 5, 7, 10, 13, 16, 18, 21, 24, 26 and 29 and the civil (Friday) epoch of 16 July 622.
- Religious dates in many countries follow local moon sighting. The ±2-day adjustment lets you match a local calendar; the converter cannot know local announcements in advance.
Hebrew
The Hebrew calendar is calculated exactly from its fixed rules: the 19-year leap cycle, the molad (mean new moon) and the four postponement rules that set the day of Rosh Hashanah. Hebrew days begin at sunset; the “After sunset” option moves the Hebrew date to the next day for evening events.
Persian (Solar Hijri)
Iran’s official calendar uses the March equinox to determine the year boundary. The converter uses K. M. Borkowski’s break-year algorithm and agrees with the Temporal Persian calendar on the tested dates from 1900 to 2100.
Chinese lunar
- Source: the Hong Kong Observatory’s Gregorian–Lunar Calendar Conversion Tables, compiled into the converter for lunar years 1901–2099.
- Months begin on the day of the new moon at China Standard Time (UTC+8); leap months follow the solar-term rule.
- The compiled table matches the independent ICU4X Chinese calendar on every day in that range. As HKO notes, when a new moon falls close to midnight other almanacs can differ by a day.
Ethiopian and Coptic
Both calendars have twelve 30-day months and a short 13th month of 5 or 6 days, with a leap year every four years. They are calculated exactly. Ethiopian years use the Amete Mihret era.
Julian calendar and Julian Day
The Julian calendar is calculated exactly (a leap year every four years). Years before 1 CE are shown as BCE; internally the converter uses astronomical year numbering, in which 1 BCE is year 0. The Julian Day Number shown is the JD at noon UT of the civil date, following the U.S. Naval Observatory; the Modified Julian Date is JD − 2,400,000.5. Ordinal “Julian dates” (YYDDD) are the Gregorian day of the year.
Japanese era and Thai Buddhist Era
Japanese era years use the official era start dates (Meiji, Taishō, Shōwa, Heisei, Reiwa) with Gregorian months and days, from 1 January 1873, when Japan adopted the Gregorian calendar. Thai Buddhist Era years are CE + 543 from 1941; before that the Thai year began on 1 April, and the converter applies the old rule from 1912.
Limits and corrections
Dates are calculated for whole civil days and do not account for the time of day, except for the after-sunset option. Historical dates before a country adopted a calendar are “proleptic” (the calendar’s rules extended backwards). For legal and official purposes, confirm dates with the issuing authority.
Found a date that looks wrong? Please tell us the calendar, source and a non-personal example so we can check the rule or table used.