If your app shows Ramadan or Eid, you need to know when a Hijri month starts. Lists online often cover a single year, and they do not always say which calendar they follow.
We wrote the dates down once, for six Hijri years, and put them on GitHub: https://github.com/RB9744/hijri-calendar-umm-al-qura
What is in it:
-
data/hijri-months.csv: 72 rows, all months of the years 1447 to 1452 AH, which run from June 2025 into April 2031, with the Gregorian date of day 1, the weekday and whether the month has 29 or 30 days -
data/islamic-dates.csv: six dates for each year: the new year (1 Muharram), Ashura, the first day of Ramadan, both Eids and the Day of Arafah -
islamic-dates.ics: the same 36 dates as a calendar file that Google Calendar, Outlook and Apple Calendar can import - month names in English and Arabic, plus one JSON file with everything
A few dates from the table:
- Ramadan 1448 starts on Monday 8 February 2027, and Eid al-Fitr falls on Tuesday 9 March 2027
- Ramadan 1449 starts on 28 January 2028
- 2030 has two Ramadan starts: 5 January (1451) and 26 December (1452)
Where the dates come from: Saudi Arabia's official Umm al-Qura calendar (ummulqura.org.sa), read on 16 November 2026. We then compared all 72 month starts with ICU's islamic-umalqura calendar, the one behind Intl.DateTimeFormat, and found no difference.
One warning. The table is a printed calendar, not a moon sighting. In Saudi Arabia the months of Ramadan, Shawwal and Dhu al-Hijjah begin when the new moon is confirmed, and other countries look for it themselves, so the real day can be one day off. A Hijri day also starts at sunset, on the evening before the Gregorian date in the table.
Quick start:
import pandas as pd
url = "https://raw.githubusercontent.com/RB9744/hijri-calendar-umm-al-qura/main/data/islamic-dates.csv"
df = pd.read_csv(url, parse_dates=["gregorian_date"])
print(df[df.event == "Start of Ramadan"][["hijri_year", "gregorian_date", "weekday"]])
The data is CC BY 4.0. It comes from the team behind HijriLive (https://hijrilive.com/en/hijri-calendar/), a free Hijri calendar and date converter that follows the same Umm al-Qura dates.
Top comments (0)