Free dates and time calculator

Date Difference Calculator

Calculate the exclusive-start calendar-day interval and full weeks between two Gregorian dates.

Interactive calculator

Calculate Date Difference

Enter your values and calculate to see the result.

Revision note: Initial release for explicit UTC calendar-day intervals.

Formula

Calendar days = (UTC second date - UTC first date) / 86,400,000

Direct answer

Convert both entered Gregorian dates to UTC calendar midnights, subtract them and divide by one day. ISO 8601 provides an unambiguous year-month-day form; this calculator uses an exclusive start date and includes no time of day.

Variables and formula

  • Start date: first valid Gregorian date.
  • End date: second date, on or after the first.

Calendar days = (UTC end date - UTC start date) / 86,400,000

Reproducible example

From August 10, 2026 to August 24, 2026, the interval is 14 calendar days, or two whole weeks.

Interpretation

This gives the number of day boundaries crossed. If a policy counts both endpoints, add that rule separately and document it.

Assumptions and limitations

  • Dates use the Gregorian calendar.
  • The end date is not earlier than the start date.
  • Time zones, local clock changes and legal deadline rules are excluded.

Common mistakes

  • Assuming both endpoints are counted.
  • Entering a date before the start date.
  • Using a time-based deadline when only date inputs are available.

Assumptions

  • Dates use the Gregorian calendar and no time-of-day.
  • The end date is on or after the start date.
  • Local clock changes, inclusive counting and jurisdiction-specific deadlines are excluded.

Sources and methodology

CalcMotive publishes the formula and assumptions so you can decide whether the estimate fits your use case. See our methodology standards.

Use the result in context

All guides