Utilities
Time Between Two Dates Calculator
Count the days, months and years between two dates, Hijri or Gregorian
- 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
Total days
Business days
Weeks
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
Hijri equivalent
Day of the week
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:
- Total days: 364 days
- As years/months/days: 0 years, 11 months, 30 days
- Weeks: 52 weeks
- Business days (Sun-Thu): 260 days
- 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.
From the same drawer
Everything in Utilities- Hijri ↔ Gregorian Date ConverterConvert between Hijri and Gregorian dates using the Umm al-Qura calendar
- QR Code GeneratorGenerate QR codes for links, WhatsApp, Wi-Fi networks and contact cards, with no watermark
- Number to Arabic Words (Tafqit)Write any amount in Arabic words for cheques and official invoices
- Barcode GeneratorGenerate EAN-13, CODE128, UPC, and other barcodes for your products
- Unit ConverterConvert units of length, weight, volume, temperature and area
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