Civil Hijri date conversion
Islamic Date Converter
Convert Gregorian dates into civil Islamic calendar dates, or turn Hijri civil dates back into Gregorian dates in the same focused workspace.
Live output
Result
Choose a direction, enter a Gregorian or civil Hijri date, and the result appears here without leaving the page.
Guide
Convert civil Hijri dates and Gregorian dates
This Islamic Date Converter changes Gregorian calendar dates into civil Hijri dates and converts civil Hijri input back into Gregorian dates. Use it when you need a reproducible Hijri date for records, comparisons, software testing, or calendar lookup rather than a location-specific religious announcement.
Gregorian input uses the browser date field, while Hijri input uses a YYYY-MM-DD text value. The output includes the normalized calendar date, the Hijri month name, the weekday, and the calendar variant used for the calculation.
The converter is intentionally based on the ICU islamic-civil calendar. It does not try to reproduce local moon-sighting calendars, so observed religious dates may differ by location or by one day. That tradeoff makes the result stable and repeatable across requests.
What it handles
Civil Islamic calendar conversion coverage
The page covers two practical conversion directions: Gregorian to Hijri and Hijri to Gregorian. Both directions use the same ICU calendar basis, which means a date converted one way can be checked again in the opposite direction without switching calendar rules.
Because Hijri calendars are often discussed in religious, civil, and regional contexts, the content labels this as civil Islamic conversion throughout. That wording helps separate arithmetic civil dates from observation-based calendars used by local authorities.
Gregorian to Hijri
Enter a Gregorian date and return the matching civil Hijri year, month, day, month name, and weekday.
Hijri to Gregorian
Enter a Hijri civil date in YYYY-MM-DD format and convert it back into a Gregorian calendar date.
ICU islamic-civil basis
The page uses a deterministic arithmetic civil Hijri calendar instead of mixing astronomical or local observation rules.
How to use
Use the same direction names as the form
Start by choosing the direction that matches the date you already have. The converter does not require you to enter both calendars at the same time; one source date is enough for each conversion.
The form validates the basic format first, then the conversion step checks that the target calendar date is real for the selected calendar rules. If a value cannot round trip through ICU, the page asks you to correct the input instead of returning a silently adjusted date.
Choose Gregorian to Hijri
Use this direction for a Gregorian date such as 2026-06-30. The converter returns the matching islamic-civil Hijri date.
Choose Hijri to Gregorian
Use this direction for civil Hijri input such as 1448-01-15. The input must be YYYY-MM-DD, with months 01 through 12 and days 01 through 30.
Check the calendar basis
Results are calculated at midnight UTC using the ICU islamic-civil calendar. For religious observance, compare with the authority used in your location.
Examples
Reference conversions from the local implementation
The examples below are generated from the same local conversion functions used by the form. They are included so users can compare expected output, verify the calendar basis, and see the exact input syntax before entering their own date.
Gregorian date to Hijri date
2026-06-30 -> 1448-01-14The Gregorian date 2026-06-30 converts to 14 Muharram 1448 AH in the ICU islamic-civil calendar.
Hijri date to Gregorian date
1448-01-15 -> 2026-07-01The civil Hijri input 1448-01-15 converts back to Gregorian 2026-07-01.
FAQ
Islamic date conversion notes
Most Islamic date confusion comes from different calendar bases producing nearby but not identical dates. These answers explain the assumptions in this page so the result is used for the right purpose.
Is this the same as a moon-sighting Hijri calendar?
No. This converter uses the ICU islamic-civil calendar, an arithmetic civil calendar. Local moon-sighting calendars can differ.
What format should Hijri input use?
Use YYYY-MM-DD with a four-digit Hijri year, a two-digit month, and a two-digit day. Invalid civil Hijri dates are rejected after round-trip validation.
Why can Islamic date converters disagree?
Different tools may use civil arithmetic rules, astronomical calculations, or local observation announcements. This page states its islamic-civil basis so results are reproducible.
Reference
Calendar implementation reference
The converter uses ICU calendar services through PHP Intl. ICU documents the available calendar systems and the calendar identifiers used by this implementation, including the islamic-civil variant named in the page output.