Formula
duration = end seconds − start seconds (+ 86,400 if next day)
Convert both clocks to seconds since midnight, add 86,400 seconds to an overnight end, then subtract.
Find the elapsed duration between two clock readings without attaching them to a time zone. Mark an overnight end explicitly so an earlier clock time is never guessed as the next day.
duration = end seconds − start seconds (+ 86,400 if next day)
Convert both clocks to seconds since midnight, add 86,400 seconds to an overnight end, then subtract.
This calculator handles clock intervals under 48 hours. Use date difference for multi-date spans.
Formula v1.0.0
Reviewed 2026-08-03
CalcFlow engineering review
22:45 is 81,900 seconds. 01:15 next day is 90,900 seconds on the same timeline, leaving 9,000 seconds or 2 h 30 min.
An end earlier than the start is ambiguous. The explicit control prevents the calculator from guessing.
No. This is clock arithmetic. Use a time-zone-aware scheduling tool for real instants across transitions.
Next-day mode supports up to a 48-hour clock interval in V1.