Date Difference Calculator
How long between two dates, counted every useful way at once.
- In calendar terms
- 0y 7m 20d
- Weeks
- 33 + 1d
- Weekdays only
- 167
- Hours
- 5,568
- From / to weekday
- Thursday → Friday
Day count excludes the start date and includes the end date.
Every tool runs entirely in your browser. Your files are never uploaded to a server.
The gap between two dates can be counted as a raw number of days, or in calendar terms as years, months and days. Both are shown here, along with weekdays only, because the right answer depends on what you are measuring.
How to use the Date Difference Calculator
- Enter the earlier date. If you enter them the wrong way round, they are swapped automatically.
- Enter the later date. Any two dates work, including across leap years.
- Pick the count that fits. Raw days for arithmetic, calendar terms for contracts and notice periods, weekdays for working time.
About measuring the time between two dates
There is no single correct way to measure the distance between two dates, which is why this shows several at once. A raw day count is unambiguous and is what you want for anything arithmetic — interest, ageing, deadlines measured in days. Calendar terms are what contracts, tenancy agreements and notice periods almost always mean: "three months" is three calendar months from the start date, not ninety days, and the difference can be two days either way depending on which months are involved. Weekday counts matter for anything measured in working time, though they are only ever an approximation until you subtract the public holidays for your own country, which is why none are assumed here. The subtle trap is mixing the systems: adding three calendar months and then reasoning about the result in days will drift, and comparing a ninety-day deadline against a three-month one will occasionally disagree. Pick the unit that matches the obligation you are actually measuring, and keep it consistent throughout. Everything is computed in UTC in your browser, so the answer does not shift with your timezone or reach a server.
Frequently asked questions
Does the count include both dates?
Why does the month figure not match days divided by thirty?
Are leap years handled?
Does the weekday count exclude public holidays?
Last updated