Hijri and Gregorian Date Converter

Convert Gregorian dates to Hijri and back, and see how the Islamic calendar variants differ.

How to use

What it checks and how it works

The converter uses the Islamic calendars that your browser implements through Intl.DateTimeFormat (ECMA-402): Umm al-Qura, the tabular civil and astronomical-epoch calendars, and the astronomical calculation in ICU. They can give different dates for the same day, so the tool names the variant it used and can show all four together. These are calculated calendars. None of them predicts moon sighting, and a country's official date for the start of a month, such as Ramadan, can differ by a day. For religious or legal dates, use the date announced by the authority that applies to you.

Why do two Hijri calendars show different dates?

Some calendars use a fixed arithmetic rule (the tabular ones) and others use astronomical calculation or a published table (Umm al-Qura). The same day can fall on different dates in each.

Can I use it to find the start of Ramadan?

Use it for planning only. The official start depends on moon sighting or on the authority's announcement, which can differ from any calculated calendar by a day.

Does it work offline?

Yes. The calendars come from your browser, and nothing is sent anywhere.

Sources

Related tools

Privacy

Runs in your browser; nothing is uploaded. The interactive tool needs JavaScript.