DATE & TIME CALCULATOR

Date Difference Calculator

Compare two dates in either order, or require a forward interval. See calendar duration, total days, weekdays and equivalent time units, with explicit endpoint counting.

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
Entered date order
End follows start
First counted date weekday
Monday
Last endpoint weekday
Wednesday
Saturday/Sunday days
122
Days expressed as 24-hour units
10,296
Days expressed as minutes
617,760
Days expressed as seconds
37,065,600

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

Page guide

Calendar intervals, total days, and weekdays

Either-order mode puts the dates in chronological order and reports a positive interval length with the entered direction. Whole calendar months use a month-end clamp. The day and weekday counts use the same endpoint choice.

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 two valid dates. Today shortcuts use your device’s local date, and Swap dates exchanges the two entries.
  2. Choose either date order or require a forward interval. Choose whether to count both endpoint dates.
  3. Read the chronological interval length and the entered direction. Hours, minutes and seconds are day-count equivalents, not a measurement of local elapsed time.

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.
  • Hours, minutes and seconds assume 24 hours per counted date; they do not account for daylight-saving elapsed time.

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?

Yes in Use either order mode. The result shows the positive chronological interval and identifies the reversed entry order. Require end on or after start retains forward-only validation.

Reviewed on