Kharabeesh
On-device ع

Date Calculator

Find the difference between two dates in days, weeks, months and working days, add or subtract a duration, get the weekday and the semester week number, and convert between Hijri and Gregorian.

Free, no sign-up Saved on your device only Works offline after first open

The tool

Loading the tool…

How to use

  1. Choose a calculator from the tabs: difference, add & subtract, weekday, semester week, or Hijri & Gregorian.
  2. Difference: pick both dates and tick your weekend days if you want working days only.
  3. Add & subtract: pick the date, type the amount and choose the unit (days, weeks, months, years).
  4. Semester week: enter the term start date to get the week number of any date.
  5. Hijri: pick a Gregorian date to see its Hijri date, or type a Hijri date to get the Gregorian one.

Privacy & how it works

Saves your data in this browser only (back it up or delete it from “My data”).

  • Engine: lightweight in-page code, no external libraries.
  • Works offline after you open it once.
  • Hijri conversion needs a browser with the Umm al-Qura calendar in Intl (all modern browsers). The other calculators work everywhere.

Frequently asked questions

Is the end date counted in the difference?

Not by default: from the 1st to the 4th is 3 days. Tick “Count the end date” to include it (making 4); this also affects working days.

How are months counted when months differ in length?

Whole months are counted from the first date, then the remaining days. If the day does not exist in the resulting month it is clamped to the month end: 31 January + 1 month = 28 February (29 in a leap year).

Do working days exclude public holidays?

No. Only the weekly weekend days you choose are excluded (Friday and Saturday by default). Eid, National Day and university breaks are not removed automatically.

Where do Hijri dates come from, and are they exact?

From the Umm al-Qura calendar data inside your browser (Intl), with no connection. They may differ by a day from the official announcement of month starts, and outside the years covered by the Umm al-Qura table (roughly 1300–1600 AH) the conversion is an arithmetic approximation.

How is the semester week counted?

Week 1 is the week containing the term start date, and each new week begins on the week-start day you choose (Sunday by default).

Formulas & sources

Related tools