Date Difference Calculator
Calculate the gap between two dates in years/months/days, total days, weeks — and weekdays only.
Quick answer: Calculate the gap between two dates in years/months/days, total days, weeks — and weekdays only.
Last updated
Frequently asked questions
- How is 'weekdays only' counted?
- We iterate every day in the range and count those that aren't Saturday or Sunday. Public holidays aren't subtracted because they vary by country.
- Does it handle negative ranges (end before start)?
- Yes — the gap is reported with a sign and the totals are the absolute number of days.
- Are leap years and DST changes handled?
- Leap years are handled by date arithmetic. DST is irrelevant for date-only calculations because we count days, not hours.
- Are my dates uploaded?
- No — every calculation runs in your browser.
- Why is the year/month/day breakdown sometimes counter-intuitive?
- Calendar arithmetic is messy because months have different lengths. We follow the same convention as Excel's DATEDIF — borrow days from the previous month if needed, then borrow months from the previous year.