Skip to content
Badr Alghamdi
ToolsLearnReferenceGlossaryField LibraryMethod sheetsWritingAbout
العربية
←Tools

Hijri anniversary: three years in Hijri months end thirty three days early

Type a start date and a term in whole Hijri months. The page counts the ending on one named arithmetic Hijri calendar, and counts the same term again in Gregorian months from the same start. One term, two dates, and the distance between them grows by about eleven days a year. Defer the start by a few days and the distance does not move, while the Gregorian month the Hijri ending falls in does. The arithmetic calendar here is not a sighting and not an announcement.

Live result

The Gregorian count ends 33 whole days after the Hijri count, and in a later month.
  • Hijri counted ending2028-12-29
  • Gregorian counted ending2029-01-31
A term written in months names a different date under each calendar.
The Gregorian count ends 33 whole days after the Hijri count, and in a later month.A term written in months names a different date under each calendar.

The two month combs and the distance

One shared civil day axis
Live chart
One term counted on two calendars over the same daysThe Hijri count ends on 2028-12-29 and the Gregorian count ends on 2029-01-31. They are 33 whole days apart.0306192civil days111212678910Hijri counted · 2028-12-29Gregorian counted · 2029-01-31Hijri counted · 2028-12-29Gregorian counted · 2029-01-3133 days later

A month that begins on a sighting cannot be tabulated in advance. This page tabulates, so it is not that calendar.

The upper row is Gregorian months, the lower row is tabular Hijri months, 30 and 29 alternating. The figures are month numbers.

Try a term

36Hijri months

Whole Hijri months. A hundred and twenty is ten Hijri years and it is this page's limit, because the chart draws one cell per Gregorian month between the two endings.

0days

Whole calendar days added to the start before either count begins. The month crossing this page names sits inside the first thirty, so the slider stops there and the record editor takes the rest.

Open the start and both counts▾
The start

One Gregorian date that both counts start from. The page does not decide whether that day is inside the term or outside it.

The two counts

Whole Hijri months. A hundred and twenty is ten Hijri years and it is this page's limit, because the chart draws one cell per Gregorian month between the two endings.

Whole calendar days added to the start before either count begins. The month crossing this page names sits inside the first thirty, so the slider stops there and the record editor takes the rest.

The two counts

Deferred start
Value
2026-01-31
Tabular Hijri start
Value
1447-08-12, month 8, شعبان
Tabular Hijri target
Value
1450-08-12, month 8, شعبان
Hijri counted date
Value
2028-12-29
Gregorian counted date
Value
2029-01-31
Whole days between them, Gregorian is later
Value
+33
The two counts
The two countsValue
Deferred start2026-01-31
Tabular Hijri start1447-08-12, month 8, شعبان
Tabular Hijri target1450-08-12, month 8, شعبان
Hijri counted date2028-12-29
Gregorian counted date2029-01-31
Whole days between them, Gregorian is later+33
Every month, one row▾

The twelve month lengths this arithmetic uses

1
Month name
month 1, المحرم
Days
30
2
Month name
month 2, صفر
Days
29
3
Month name
month 3, ربيع الأول
Days
30
4
Month name
month 4, ربيع الآخر
Days
29
5
Month name
month 5, جمادى الأولى
Days
30
6
Month name
month 6, جمادى الآخرة
Days
29
7
Month name
month 7, رجب
Days
30
8
Month name
month 8, شعبان
Days
29
9
Month name
month 9, رمضان
Days
30
10
Month name
month 10, شوال
Days
29
11
Month name
month 11, ذو القعدة
Days
30
12
Month name
month 12, ذو الحجة
Days
30
Year total
Month name
This is one of the eleven years whose twelfth month runs 30 days in the thirty year cycle.
Days
355
The twelve month lengths this arithmetic uses
Month numberMonth nameDays
1month 1, المحرم30
2month 2, صفر29
3month 3, ربيع الأول30
4month 4, ربيع الآخر29
5month 5, جمادى الأولى30
6month 6, جمادى الآخرة29
7month 7, رجب30
8month 8, شعبان29
9month 9, رمضان30
10month 10, شوال29
11month 11, ذو القعدة30
12month 12, ذو الحجة30
Year totalThis is one of the eleven years whose twelfth month runs 30 days in the thirty year cycle.355

These are arithmetic lengths and not observed ones. An announced month can differ from the row above it by a day.

Days the start is deferred

days
days
days
days

It does not check the values in between.

How the answer sits across the values sampledA rail of the 13 values sampled, from 0 days to 12 days in steps of 1 day. Across the values sampled, the Gregorian month the Hijri counted ending falls in stays December from 0 days, the lowest value sampled to 2 days. The nearest value where it changes is 3 days, where it becomes January.first change3 days0 dayson the page

Across the values sampled, the Gregorian month the Hijri counted ending falls in stays December from 0 days, the lowest value sampled to 2 days. The nearest value where it changes is 3 days, where it becomes January.

Across the values sampled, the Gregorian month the Hijri counted ending falls in stays December from 0 days, the lowest value sampled to 2 days. The nearest value where it changes is 3 days, where it becomes January.
The answerDecember
Values sampled0 days to 12 days, 13 values, step 1 day
Holds from0 days, lowest sampled
Holds to2 days
Nearest value that changes it3 days
The answer thereJanuary

What an unchanged region does and does not prove is set out in a short lesson.

Every admissible integer in this range was checked. Values outside the range remain unchecked.

Here is the maths

▾

The formula, in words

The calculation adds the deferral to the start as whole Gregorian calendar days. It converts that deferred date to the tabular civil Hijri calendar, adds the whole term as Hijri months, and converts the result back to a Gregorian date. In parallel it adds the same whole month count to the deferred Gregorian date. It then subtracts one integer day number from the other. All of it is integer arithmetic, with no time zone and no clock.

If the day of the month does not exist in the target Hijri or Gregorian month, it is clamped to that month's last day.

The calendar identity, in full

The model is the tabular civil Islamic calendar with the Friday civil epoch, one of several identities distinguished by the same standard.

Odd numbered months run 30 days, even numbered months run 29, and the twelfth month runs 30 in years 2, 5, 7, 10, 13, 16, 18, 21, 24, 26 and 29 of each thirty year cycle. The same standard separately distinguishes a Thursday epoch tabular calendar, an Umm al Qura calendar and sighting based calendars, and this page is none of those three.

This arithmetic anchors day 1 of Hijri month 1, المحرم, in year 1 to 19 July 622 in the proleptic Gregorian calendar.

A worked example

  1. The start is 2026-01-31 and the deferral is 0 days, so the deferred start stays 2026-01-31.
  2. The integer conversion gives tabular civil Hijri 1447-08-12.
  3. Starting Hijri month index: (1447−1)×12+(8−1)=17,359(1447-1)\times12+(8-1)=17{,}359(1447−1)×12+(8−1)=17,359.
  4. Target Hijri month index: 17,359+36=17,39517{,}359+36=17{,}39517,359+36=17,395.
  5. Target Hijri year: ⌊17,39512⌋+1=1450\left\lfloor\frac{17{,}395}{12}\right\rfloor+1=1450⌊1217,395​⌋+1=1450, and the target month is 8.
  6. Day 12 exists in month 8, so no Hijri clamp is needed and the target is 1450-08-12.
  7. Converting the target to Gregorian gives 2028-12-29.
  8. Gregorian month index: 2026×12+(1−1)=24,3122026\times12+(1-1)=24{,}3122026×12+(1−1)=24,312.
  9. Adding 36 gives 24,348, which resolves to January 2029, where day 31 exists.
  10. The Gregorian counted date is 2029-01-31.
  11. From 2028-12-29 to 2029-01-31, two days of December and 31 days of January: 2+31=332 + 31 = 332+31=33 whole days.
  12. Hijri year 1450 is year 10 of its cycle, so its twelfth month has 30 days and its total is 355 days.

The example that reverses the title's order

At the same start with a term of one Hijri month, the Hijri count reaches 2026-03-01.

The Gregorian count reaches February 2026, where day 31 does not exist, so it clamps to 2026-02-28.

The difference is negative 1 day, so the Hijri ending is the later one.

What this does not model

It counts on one named arithmetic and compares it with a Gregorian count. It does not decide which calendar a document adopts, when a term legally begins or ends, whether the first or the last day is inside the term, or whether a renewal or a notice was in time. It carries no almanac, no month length envelope and no announcement.

A month that begins on a sighting cannot be tabulated in advance. This page tabulates, so it is not that calendar.

Check it yourself

Set the sweep to run from 0 to 12 in steps of 1. Thirteen values are checked. The month holds at December through two days of deferral and changes to January at three. The distance between the two endings is 33 days at every one of the thirteen. A deferral moves both endings together, and it moves neither the term nor the distance.

The calculation domain

The calculation accepts dates from 1600-01-01 to 2400-12-31, terms of 1 to 1200 whole Hijri months, and deferrals of 0 to 120 whole days. This page offers dates from 1900-01-01 to 2100-12-31 and terms to 120 so the date choice and chart stay readable.

Boundary

It describes what counting a term on one named arithmetic calendar reaches, with the Gregorian count of the same term beside it. It does not determine which calendar your document adopts, when a term begins or ends in law, whether the first or the last day is inside it, or whether a renewal or a notice was effective.

Source anchor

Unicode LDML calendar type identities, and Unicode CLDR Islamic calendar types. Those published pages identify the calendar this page computes on and distinguish it from the Thursday epoch tabular calendar, from Umm al Qura and from sighting based calendars. No month table, no almanac and no announcement from them or from anywhere else appears on this page.

The whole record prints. Your browser can save it as a PDF instead of printing it.

This page will never call its arithmetic result an observed expiry date, an Umm al Qura date, an announced date, a contractual date or a legal date. A month that begins on a sighting cannot be tabulated in advance, and this page tabulates. It counts a day and subtracts a day, and it decides nothing for anyone.

Related

  • Working week: four declared weeks give four dates from one ThursdayDeclare your own weekdays and closures, then count ten days from one Thursday. Four declared weeks reach four different dates, because there is no default working week here.
  • Factory shutdowns: the closures your schedule assumes are openChinese New Year, Eid and Golden Week close the factories your schedule assumes are open. This puts them back in the date.

Term count record

Hijri anniversary: three years in Hijri months end thirty three days early

Accepted inputs

Gregorian start date
2026-01-31
Term in whole Hijri months
36
Deferral in whole days
0

All results

Deferred start
2026-01-31
Tabular Hijri start
1447-08-12, month 8, شعبان
Tabular Hijri target
1450-08-12, month 8, شعبان
Hijri counted date
2028-12-29
Gregorian counted date
2029-01-31
Whole days between them, Gregorian is later
+33
Gregorian month of the Hijri counted ending
December
Gregorian month of the Gregorian counted ending
January
Whole days the Gregorian count is later
+33
Model identity
the tabular civil Islamic calendar with the Friday civil epoch
Target Hijri year month lengths, 1, المحرم
30
Target Hijri year month lengths, 2, صفر
29
Target Hijri year month lengths, 3, ربيع الأول
30
Target Hijri year month lengths, 4, ربيع الآخر
29
Target Hijri year month lengths, 5, جمادى الأولى
30
Target Hijri year month lengths, 6, جمادى الآخرة
29
Target Hijri year month lengths, 7, رجب
30
Target Hijri year month lengths, 8, شعبان
29
Target Hijri year month lengths, 9, رمضان
30
Target Hijri year month lengths, 10, شوال
29
Target Hijri year month lengths, 11, ذو القعدة
30
Target Hijri year month lengths, 12, ذو الحجة
30
Year total
355
The twelve month lengths this arithmetic uses
These are arithmetic lengths and not observed ones. An announced month can differ from the row above it by a day.
Tabular Hijri months
A month that begins on a sighting cannot be tabulated in advance. This page tabulates, so it is not that calendar.

Sweep of Days the start is deferred

The assumption
Days the start is deferred
Values sampled
0 to 12 days, 13 values, step 1
The answer
December
Holds across
0 to 2 days
Nearest change
3 days, where it becomes January
Reading the boundary
The sweep samples only the values you entered. Between samples the answer is not checked, so read the boundary as observed, not proven.

Record fields

Calculation version
1.0.0
Boundary
It describes what counting a term on one named arithmetic calendar reaches, with the Gregorian count of the same term beside it. It does not determine which calendar your document adopts, when a term begins or ends in law, whether the first or the last day is inside it, or whether a renewal or a notice was effective.
Calculation trace
Add the deferral as whole Gregorian calendar days to the start date. Convert the deferred start to the tabular civil Hijri calendar. Add the term as whole Hijri months and clamp the day at the target month end when needed. Convert the Hijri target to a Gregorian date. Add the same month count to the deferred Gregorian start and clamp the day the same way. Subtract the Hijri ending day number from the Gregorian ending day number.
Source anchor
Unicode LDML calendar type identities; Unicode CLDR Islamic calendar types

This page will never call its arithmetic result an observed expiry date, an Umm al Qura date, an announced date, a contractual date or a legal date. A month that begins on a sighting cannot be tabulated in advance, and this page tabulates. It counts a day and subtracts a day, and it decides nothing for anyone.

Badr Alghamdi · badralghamdi.com/tools/hijri-term-anniversary

Badr Alghamdi

Request a consultationLinkedInGitHubRSS