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.
Result
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
- Enter start and end in the same format. Choose Dates and times when an interval could span a full day or longer.
- 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
- Only whole seconds and fixed 24-hour days are modeled. No offset, daylight-saving or leap-second handling.
- Use actual dated endpoints if an interval could include more than one midnight, rather than relying on the single overnight rule.
Sources & methodology
Related calculators
- Hours Calculator: Hours and Minutes Between Times
Find whole minutes, hours and minutes, and decimal hours between two clock times or dated timestamps. A smaller end clock rolls over once.
- Time Calculator: Add and Subtract Durations
Add or subtract hours, minutes and seconds, evaluate a signed expression, or shift a local date and time by a duration.
- Time Zone Converter: IANA Zones and UTC Offsets
Convert one dated clock time between city-based time zones and fixed UTC offsets. Check repeated or skipped local times.
- Time Card Calculator: Shift Hours and Breaks
Add shift minutes for one or two weeks, including overnight work and timed breaks. Review net, gross and break totals by day.