Time Duration Calculator: Elapsed Time Between Times

Find days, hours, minutes and seconds between two times. Use dates when the interval spans multiple days; use clock times for one midnight crossing.

Clock: 14:05:30. With a date: 2026-12-02 14:05:30. You can also type now.
Use the same format as the start.

Result

Enter values and select Calculate.

How is this calculated?

Subtract the start timestamp from the end. Use dated timestamps for a range of one day or longer.

Worked example: Keep the seconds in a multi-day interval

From October 12 at 23:59:40 to October 14 at 00:00:10 is one day and 30 seconds: 86,430 seconds in the fixed 24-hour-day model.

Method and limits

Enter clock times as HH:MM or use AM/PM. A smaller end clock time means the next day; identical times give zero. In date mode use YYYY-MM-DD HH:MM, with optional seconds for the duration tool. Type now for your current device time. A day has 24 hours here; zone changes are not applied.

How to use this calculator

  1. Enter start and end in the same format. Choose Dates and times when an interval could span a full day or longer.
  2. Read Duration for day/hour/minute/second components. Use Total seconds when you need the unrounded whole-second count.

Subtract dated timestamps without losing seconds

From October 12 at 23:59:40 to October 14 at 00:00:10 is 86,430 seconds: one day and 30 seconds.

Choose boundaries that match your stopwatch

Start and end are boundaries, not minutes to include individually. An event starting at 14:00:00 and ending at 14:00:01 lasts one second; equal readings give zero.

Why 23:59:50 to 00:00:20 gives 30 seconds

The earlier end time in Clock times moves to the following morning. Ten seconds reach midnight, then 20 more reach the end. Use explicitly dated timestamps if more than one midnight could be involved.

Convert a total into days and residual time

Separate complete days first, at 86,400 seconds each. Convert the remainder into hours of 3,600 seconds, minutes of 60 seconds and leftover seconds. Decimal hours are a convenience display; Total seconds retains the exact integer.

Frequently asked questions

Does the end time have to be after the start?
In dated mode yes, or the timestamps can be identical for zero. In Clock times a smaller end rolls into the next day.
How do I keep seconds?
Use HH:MM:SS. Entering only hours and minutes makes seconds zero. Leap seconds and fractional seconds are not accepted.
Does now use a server time?
No. It uses the time or date and time of the device running the calculator.
What about daylight-saving jumps?
This method treats a day as exactly 24 hours and does not apply changing UTC offsets. The answer is not an elapsed-time estimate across a clock change.

Common mistakes and limits

Sources & methodology

Related calculators