Time duration
Compare clock differences and elapsed time, including overnight shifts and daylight saving changes.
Your inputs
The editable example is illustrative. Enter your own dimensions, operating data, prices, and fees. Results update as you edit.
Calculations run in your browser. Inputs are not saved or sent to analytics.
How it works
- Total seconds = + − − ; Elapsed time with zone rules: UTC
- Worked example: 22:30 → 01:15 (+1 d) = 2 h 45 min = 2.75 h; America/New_York 2026-03-08 01:30 → 03:30 = 1 h UTC
- Supported input limits:
Input and formula key
Your result
Complete the inputs to see your result.
Assumptions and limitations
Clock mode compares calendar dates and displayed times. Elapsed mode uses the selected time zone and daylight-saving rules. The overnight option adds one day to the entered end date; do not add that day twice.
Sources
- MDN — Intl date/time and time-zone formatting Sources reviewed: 2026-10-06



