Time Between Two Dates Calculator
Compute days, months, and years between any two dates — Hijri or Gregorian
03/08/2026 · 18 Safar 1448 AH
02/09/2026 · 19 Rabi' al-Awwal 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.
03/08/2026 · 18 Safar 1448 AH
Resulting date
Hijri equivalent
Day of the week
Do this every day? Snad automates it for you.
- Full accounting + ZATCA + invoicing in one system
- Calculations happen automatically — no separate calculators needed
- Free 30-day trial · no credit card required
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
Related Tools
Hijri ↔ Gregorian Date Converter
Convert between Hijri and Gregorian dates with Umm al-Qura accuracy
QR Code Generator
Generate QR codes for links, WhatsApp, WiFi networks, and contact cards — no watermark
Number to Arabic Words (Tafqit)
Convert any amount to Arabic words instantly — for cheques and official invoices
Discover more free Snad tools
Dozens of free tools to manage your business smarter — all in one place.