Orpheus

Date Difference Calculator

How long between two dates, counted every useful way at once.

Inputs
Days between
232days
In calendar terms
0y 7m 20d
Weeks
33 + 1d
Weekdays only
167
Hours
5,568
From / to weekday
Thursday → Friday
calendar difference in years, months and days · plus the raw day count

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

  1. Enter the earlier date. If you enter them the wrong way round, they are swapped automatically.
  2. Enter the later date. Any two dates work, including across leap years.
  3. 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?
The day count excludes the start date and includes the end date, so 1 January to 2 January is one day. Weekday counts include both ends, which is how notice periods are usually stated.
Why does the month figure not match days divided by thirty?
Months vary between 28 and 31 days, so dividing gives an approximation. The calendar figure advances whole months from the start date instead, which is what contracts and notice periods actually mean.
Are leap years handled?
Yes. 2024 was a leap year, so 1 January 2024 to 1 January 2025 is 366 days, while the same span in 2025 is 365.
Does the weekday count exclude public holidays?
No. It excludes Saturdays and Sundays only, because holidays differ by country and by year. Subtract your own.

Last updated