Skip to content

Utilities

Time Between Two Dates Calculator

Count the days, months and years between two dates, Hijri or Gregorian

Time Between Two Dates Calculator
  • Free
  • No Signup
  • Calculated in your browser

31/10/2026 · 19 Jumada al-Awwal 1448 AH

30/11/2026 · 19 Jumada al-Thani 1448 AH

Years / months / days

0 yr · 0 mo · 30 d

Total days

30d

Business days

21d

Weeks

4

Future date

Add a number of days to any start date to see the resulting date.

31/10/2026 · 19 Jumada al-Awwal 1448 AH

Resulting date

30/11/2026

Hijri equivalent

19 Jumada al-Thani 1448 AH

Day of the week

Monday

How does it work?

The time-between-dates calculator subtracts one date from another and returns the result in multiple shapes: years/months/days (age-style), total days (for contracts), weeks, hours, and business days (excluding Friday/Saturday + public holidays). Useful for contract management, leave administration, and payment terms.

How the calculation works

Base difference = milliseconds between the two dates ÷ milliseconds in a day. The years/months breakdown uses a borrowing algorithm: when the end day is smaller than the start day, the value is borrowed from the previous month. Business days are counted day-by-day, skipping Friday/Saturday and listed holidays.

Worked example

Difference between 1 January 2026 and 31 December 2026:

  1. Total days: 364 days
  2. As years/months/days: 0 years, 11 months, 30 days
  3. Weeks: 52 weeks
  4. Business days (Sun-Thu): 260 days
  5. Business days excluding Saudi public holidays: ~245 days

Weekend in Saudi Arabia

The official weekend in Saudi Arabia is Friday and Saturday (changed from Thursday/Friday in 2013). The tool excludes these two days when 'exclude weekends' is on.

Public holidays included

  • Founding Day: 22 February (fixed Gregorian).
  • Eid al-Fitr: 4-day public-sector holiday (variable, lunar).
  • Eid al-Adha: 4-day public-sector holiday (variable, lunar).
  • National Day: 23 September (fixed Gregorian).

Commercial use cases

  • Computing remaining contract duration in days or months.
  • Counting workable project days.
  • Tracking the 90-day probation window for a new hire.
  • Calculating remaining annual leave from a hire date.
  • Setting an invoice due date by adding Net 30 / 60 / 90.

Frequently Asked Questions

Does the tool exclude Saudi public holidays automatically?

Optionally. Toggle 'exclude public holidays' and the tool removes Founding Day, National Day, and the four days each of Eid al-Fitr and Eid al-Adha. Holiday dates are sourced from royal decrees for 2025-2027.

What's the difference between 'total days' and 'years/months/days'?

Total days gives a single number (e.g. 365). Years/months/days breaks it down the way humans express it (1 year 0 months 0 days). The latter is useful for contracts and ages.

Does it support the Hijri calendar?

Yes — pick dates in Gregorian and the result includes the Hijri equivalents in every section. For dedicated bidirectional conversion, use the Hijri date converter.

How do I compute 'what date is N days from now'?

Use the secondary 'future date' section. Enter a start date and a number of days; the result shows the date in both Gregorian and Hijri plus the day of the week.

Why are business days fewer than total days?

Because we skip Friday + Saturday (Saudi weekend). With 'exclude public holidays' on, the count drops further by removing Eids, Founding Day, and National Day.

Can I compute the difference if one date is in the past?

Yes — the tool returns the absolute difference regardless of order. Enter the dates either way and you'll always get a positive result.

When you run the same sum every day

Invoicing every day? In Snad each invoice posts its entry and updates your stock automatically.

Free plan, no end date · 7-day trial, no card

  • Accounting, inventory and ZATCA e-invoicing in the same software
  • Tax and balances are computed from your own transactions, so no figure moves to a separate spreadsheet