DATE & TIME CALCULATOR

Date Difference Calculator

Find the exact interval between two calendar dates as years, months, and days, plus total days, complete weeks, and Monday-to-Friday weekdays.

Calculator

Adds the ending date to all counts.
YOUR RESULTS
Calendar difference1 years, 2 months, 4 days
Total days
429
Complete weeks
61
Remaining days
2
Weekdays
307

The interval excludes the ending date. Calendar months use a month-end clamp.

Understanding your result

The calendar result advances by whole months with a month-end clamp, then counts the remaining days. The total and weekday results use the same exclusive or inclusive boundary you select.

The formula

Total days = end date − start date; complete weeks = floor(total days ÷ 7)

Calendar months vary in length, so the years-months-days result is calculated separately from the absolute day count. Inclusive mode adds one day after validating the entered range.

From January 1, 2024 to March 5, 2025

The exclusive interval is 1 year, 2 months, and 4 days: 429 total days, 61 complete weeks plus 2 days, and 307 weekdays.

How to use this calculator

  1. Enter the earlier start date.
  2. Enter the later end date and choose whether it is included.
  3. Calculate to compare calendar units with absolute day and weekday counts.

Calendar time and elapsed days answer different questions

A one-month interval can contain 28, 29, 30, or 31 days. The calendar result preserves named months, while total days measures the absolute interval.

Month-end dates are clamped to the last valid day when the corresponding date does not exist in a later month.

Weekdays are calendar weekdays

The weekday count includes Monday through Friday and excludes Saturday and Sunday.

Public holidays and local work schedules are not removed, so use the result as a calendar count rather than a business-day deadline.

Assumptions & limitations

What this calculation assumes

  • Dates use the Gregorian calendar at UTC midnight.
  • Weekdays mean Monday through Friday.
  • The weekday count includes the start date and excludes the end date by default. Inclusive mode counts both dates.

What to keep in mind

  • Public holidays are not excluded.
  • Times of day and time zones are not represented.
  • Legal deadlines may use jurisdiction-specific counting rules.

Common questions

What does include the end date change?

It adds one day to the interval and can also change the calendar duration and weekday count.

Are weekends removed from total days?

No. Total days includes every day; weekdays is shown separately.

Can the end date be earlier?

No. Reverse the inputs to calculate a forward interval.