Date Difference Calculator

How to use 3 steps
  1. Pick the From and To dates.
  2. Tick Count both the start and end date if both days should count.
  3. Press Calculate.
Difference

Dates are compared at midday UTC, so a daylight-saving change in the middle of the range cannot shift the count by a day. Working days exclude Saturdays and Sundays only — public holidays vary by country and are not applied.

How this tool works

Counts the interval between two dates in days, weeks, months and years, and separately in working days. Dates entered the wrong way round are swapped rather than rejected.

Days are counted by subtracting the two dates at midday UTC, which keeps the arithmetic clear of daylight-saving shifts that would otherwise make some intervals an hour short and round to the wrong day. Months and years are counted by calendar boundaries rather than by dividing days, because months are not a fixed length. The working-day figure counts weekdays only: Saturdays and Sundays are excluded, and public holidays are not, since they vary by country and region and the tool has no way of knowing which apply to you.

Counting days precisely

  • Inclusive counting changes the answer by one: from Monday to Friday is four days between, or five days inclusive. Contracts and notice periods usually specify which they mean, and the checkbox lets you match it.
  • Public holidays are not deducted: the working-day figure excludes weekends only. Add your own holiday count for a country-accurate figure.
  • Months are calendar units, not fixed lengths: the month figure walks real calendar boundaries, which is why it will not equal the day count divided by thirty.
  • Midday UTC avoids a real bug: comparing dates at midnight across a daylight-saving boundary can leave an interval an hour short and round down a whole day.

Why the count happens at midday UTC

The [msm_tool slug="date-difference-calculator"] subtracts the two dates at midday UTC rather than at midnight, which keeps the arithmetic clear of daylight-saving shifts that would otherwise leave some intervals an hour short and round the result down to the wrong day entirely. It is a deliberate choice made specifically to avoid a real, well-documented bug rather than an arbitrary implementation detail.

Inclusive counting changes the answer by exactly one

Monday to Friday is four days between the two dates, or five days counted inclusively — both are legitimate readings of the same pair of dates, and contracts and notice periods usually specify which one they mean. The inclusive option exists specifically to match whichever convention actually applies to the situation at hand.

Working days exclude weekends only, and that is deliberate

The working-day figure removes Saturdays and Sundays but leaves public holidays untouched, since holidays vary by country, region and sometimes industry, and there is no reliable way to apply the right set without knowing exactly which jurisdiction is meant. Subtracting a known holiday count from the figure shown is the way to reach a genuinely country-accurate result.

Months are calendar units, not a fixed number of days

The month figure walks real calendar boundaries rather than dividing the day count by an average month length, which is exactly why it will not equal the total days divided by thirty — the same span of days can report as a different number of months depending on where in the year it actually falls.

Dates entered the wrong way round are handled, not rejected

Two dates given in reverse order are swapped automatically and the interval is reported as a positive figure, with nothing to correct and no error shown. Leap years are handled the same deliberate way: actual calendar dates are stepped through one by one, so a 29 February is counted exactly once whenever it genuinely falls inside the interval.

Frequently Asked Questions

Specific to the Date Difference Calculator. Broader questions about this category are answered on the category page.

Enter both and the count appears. By default it is the number of days between them; ticking the inclusive option counts both endpoints, which adds one and is what most contractual notice periods mean.
No, only Saturdays and Sundays. Public holidays vary by country, region and sometimes industry, and there is no reliable way to apply them without knowing your jurisdiction. Subtract your own holiday count from the figure shown.
Because months have different lengths. The tool counts whole calendar months first and then the leftover days, so the same number of days can be a different number of months depending on where in the year it falls.
They are swapped automatically and the interval is reported as a positive figure. There is no error to correct.
Yes. Actual calendar dates are stepped rather than averaged, so 29 February is counted when it falls inside the interval and not when it does not.

Subscribe to receive notifications about new tools, features, and productivity tips.