Enter Dates

Calculates elapsed calendar time from 00:00 on the start date to 00:00 on the end date.

Result

Enter two dates and calculate the difference.

How It Is Calculated

The difference from August 1, 2026 to August 21, 2026 is 20 days.

Entering the same date produces an elapsed time of 0 days.

Elapsed time and inclusive counting

This result measures elapsed time from 00:00 on the start date to 00:00 on the end date, so the end date is not counted as an additional full day. Add one only when your business rule explicitly counts both calendar dates.

Why months have variable length

Calendar months contain different numbers of days, and leap years change February. The years-months-days breakdown follows calendar boundaries, while the total-day value is better for fixed-duration comparisons.

Frequently Asked Questions

Are both the start and end dates included?

No. It calculates the time actually elapsed from 00:00 on the start date to 00:00 on the end date.

Does the result vary by country or time zone?

Dates are calculated as UTC calendar dates, so the same inputs produce the same result regardless of browser time zone.