Time between dates

Result

When to use: Date difference calculator

Compare intervals to plan trips, track events or check elapsed time between two records.

How to use

Enter the first and second dates. Enable time to include hours, minutes and seconds, then click Calculate difference.

How the calculation works

The interval is the second date minus the first. Detailed duration separates days, hours, minutes and seconds. Total days, hours and minutes are rounded to the nearest integer.

Worked example

From 10 October 2026 at 08:00 to 11 October 2026 at 10:30, the interval is 1 day, 2 hours and 30 minutes. The rounded total is 27 hours.

Limitations and precautions

The second date must be on or after the first. Times use the browser’s time zone; daylight saving changes can affect elapsed duration. Use Business days to count only Monday to Friday.

Frequently asked question

Does the count include both days?

The tool measures the interval: from the 10th to the 11th there is a difference of 1 day, rather than 2 included calendar dates.

How do you measure an activity lasting more than 24 hours?

Enable the time option and enter both full dates. The calculation then distinguishes an end on the next day from one several days later. Times are interpreted in the browser’s time zone.

In the São Paulo time zone, from 09/10/2026 at 22:00 to 11/10/2026 at 06:00 the interval is 1 day and 8 hours, or 32 hours. The tool does not subtract breaks; the result is the interval between the records.

If your question is how many working days fall within this period, check Business day calculator.

Elapsed duration and calendar days

A trip from 10 October 2026 at 08:00 to 11 October at 16:00 lasts 32 hours: 1 day and 8 hours. The rounded total in days may show 1, but the remaining eight hours still matter. For equipment bookings or shift comparisons, check the detailed duration. Dates with times use the device time zone; a daylight-saving change may alter elapsed time.

If you only have clock times and a break in minutes, use Duration between times.

Continue with Business day calculator or read how the tools work.