What Time Does the Hijri Date Change? (It’s Not Midnight)
The Hijri date changes at sunset (Maghrib), not at midnight. This one detail trips up a lot of people who are used to the Gregorian calendar’s midnight rollover, and it actually matters practically — it affects when a fast begins, when a religious holiday technically starts, and why some calendar apps seem to jump to “tomorrow” hours before you expect them to.
Why sunset, and not midnight
The Islamic calendar follows the lunar cycle, and each new month traditionally begins with the sighting of the crescent moon just after sunset. That same sunset-based logic carries through to every single day, not just the start of a month: in the Islamic tradition, a new day begins at Maghrib, the sunset prayer, rather than at 12:00 AM. So the evening of, say, Monday is already considered the beginning of Tuesday’s Hijri date, well before the sun rises the next morning.
What this actually looks like in practice
If it’s 8:00 PM on what your phone’s Gregorian calendar calls “the 5th,” and the sun has already set, the Islamic day already considers it “the 6th” by the Hijri calendar. This is exactly why Ramadan’s nightly iftar (breaking the fast at sunset) is followed by taraweeh prayers that are technically performed on the new Islamic date, even though most people would still describe it, casually, as “that night.”
Why this matters for religious occasions
Because of this sunset rollover, holidays like Eid al-Fitr or Eid al-Adha are understood to begin at sunset the evening before what most calendars display as “the day of Eid.” That’s part of why some families begin light celebration — or at least the sense that the holiday has arrived — the evening before the daytime festivities most people associate with Eid.
It’s also relevant to fasting: the fast for a given Hijri date begins at dawn (Fajr) of that Hijri day, which by then has already been underway, calendar-wise, since the previous sunset.
Why some digital calendars don’t reflect this correctly
A lot of Hijri date converters and apps simplify things by flipping the date at midnight, the same way a Gregorian calendar does, because it’s easier to code and matches how most digital calendar systems are built by default. That shortcut is technically inaccurate by traditional Islamic reckoning, which is one more reason two different apps might disagree on today’s Hijri date by exactly one day, particularly in the hours between sunset and midnight.
Frequently asked questions
Does the Hijri date change at midnight like the Gregorian date?
No — it changes at Maghrib (sunset), following the traditional lunar-calendar convention that a new day begins with nightfall.
So is “tonight” already tomorrow’s Hijri date?
Yes, technically. Once the sun sets, the Islamic calendar considers the new day to have begun, even though it’s still evening by common everyday reckoning.
Why do some apps show the date changing at midnight instead?
Because many digital calendar systems default to a midnight rollover for simplicity, even though that doesn’t match the traditional sunset-based Islamic day.
Why the day boundary matters in real life
In religious reckoning the Islamic day begins at sunset, not midnight. That is why the night comes before the day it belongs to, such as the night before Friday, or the night before the first fast of Ramadan.
Civil Hijri calendars, including the Umm al-Qura tables used for administrative purposes, usually switch dates at midnight for convenience. This is why a calendar app can show a new Hijri day at 12:00 a.m. even though many people still think of the new day as starting after the evening prayer.
The practical tip is to know which convention you are following. For documents, appointments and schedules, the midnight rule is fine. For fasting, special nights and religious observances, think in terms of sunset and follow your local announcement.
