Time duration
Published
Compare clock differences and elapsed time, including overnight shifts and daylight saving changes. Enter start and end dates and times. Decimal hours express the whole duration, while days, hours, minutes and seconds are its component breakdown.
Free to use. No email or account required.
Bookmark
Bookmark this tool
Save this link in your browser’s bookmarks.
Paste this link into the address of a new or existing bookmark.
On desktop, drag Time duration to your bookmarks bar.
Only the tool’s link is shared. Your inputs and results are not included.
Share
Your inputs
Choose your dates and the calculation convention. Results update as you edit.
Calculations run in your browser. Inputs are not saved or sent to analytics.
How it works
Formula
- Elapsed time with zone rules: UTC
Input and formula key
Your result
Complete the inputs to see your result.
Sources
- MDN — Intl date/time and time-zone formattingSources reviewed: 2026-10-06
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.
How to use this tool
Set up the inputs
Enter start and end dates and times. Use wall-clock mode for displayed clock arithmetic, or elapsed mode with a zone for actual passing time. Enable overnight only when an extra day must be added to the entered end date; do not count it twice.
Worked examples
-
Compare a night shift and a clock change
- 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
Frequently asked questions
How should I read the result from Time duration?
Decimal hours express the whole duration, while days, hours, minutes and seconds are its component breakdown. Daylight-saving changes can make elapsed and clock durations differ. For a repeated local time, choose the intended occurrence; a negative result means the entered end precedes the start.
Processing and privacy
The calculation or transformation runs in your browser. The tool does not send its input values or generated output to an application server. Loading a page still makes infrastructure requests; optional analytics and Google consent messages have separate controls.
Privacy Policy. Privacy & preferences in the footer controls optional analytics.
Help and feedback
Consult the linked sources for definitions and reference data. Contact Support if you have a question or notice a problem.
Read about calculation methods · Report a problem to emonster


