Date Difference

Count elapsed time between two calendar dates in days and larger units.

Enter your values in the calculator fields to get an instant result.

Calculator guide

Count elapsed time between two calendar dates in days and larger units.

Formula or method

Elapsed days are the calendar-date difference; weeks = days/7, while months and years depend on calendar boundaries.

How to use this calculator

  1. Enter the start date.
  2. Enter the end date.
  3. Choose inclusive or exclusive counting if offered and review the units.

Worked example

From March 1 through March 31, exclusive elapsed time is 30 days; inclusive calendar counting is 31 days.

Understanding the result

Always state whether the start date is included. Calendar months are not a fixed number of days.

Limitations and assumptions

  • Date-only results do not account for time zones or time-of-day.
  • Leap days and inclusive counting can change the answer.

Frequently asked questions

Is the end date included?

Elapsed-date conventions usually exclude the start and count up to the end; check the setting.

How long is a month?

It varies from 28 to 31 days, so month differences need a calendar convention.

Does daylight saving affect this?

Not for date-only arithmetic, but it can affect timestamp durations.

Sources

Educational information only; verify important decisions with a qualified professional.