How this time duration calculator works
A time duration calculator measures elapsed time between two moments, or finds the clock you land on after adding or subtracting a duration. This free calculator uses your device’s local date and time — not UTC — so a daylight-saving change in the middle of the span shows up in the result.
Between two times reports days, leftover hours, leftover minutes, leftover seconds, plus total hours, total minutes, and whole weeks. Add / subtract duration takes a start date and time plus days, hours, minutes, and seconds (blank fields count as 0). There is no Advanced section. For clock arithmetic without dates, use the time calculator; for calendar days only, use the day counter or the date duration calculator.
How to use the time duration calculator
- Choose Between two times or Add / subtract duration with the mode buttons at the top.
- Enter the start date and time. In between mode, also enter the end date and time. In add mode, fill at least one of days, hours, minutes, or seconds.
- Read the headline: the elapsed duration, or the result date and time. Extra totals (hours, minutes, weeks) sit underneath in between mode.
- Use a negative number in a duration field to move backward. If the end is before the start in between mode, there is no result.
The two duration questions, explained
Elapsed time between two moments
Use Between two times for “how long from A until B”. The span is the difference in local milliseconds, converted to whole seconds. The end must be at or after the start. Time fields are hours and minutes; leftover seconds in the breakdown are usually 0 unless the millisecond difference is not a whole minute.
Add or subtract a duration
Use Add / subtract duration to move a start moment by the days, hours, minutes, and seconds you type. At least one of those fields must be filled. The result clock is start plus that many milliseconds, so a daylight-saving spring-forward or fall-back changes the displayed local time.
Daylight saving and overnight spans
Elapsed time is exact clock-independent duration: 24 hours is always 86,400 seconds. The local date and time displayed after adding a duration follow the timezone rules on your device. An overnight span such as 22:00 to 06:00 the next day is 8 hours. Crossing a spring-forward night can make “one calendar day later at the same clock time” only 23 hours of elapsed time.
Duration formulas
These are the same rules the calculator uses. Start and end are local date-times on your device.
Worked examples
Example: 1 January 09:00 to 2 January 11:30
The elapsed span is 26 hours 30 minutes, reported as 1 day, 2 hours, 30 minutes. Total hours are 26.5. Total minutes are 1,590. Whole weeks are 0.
Example: 1 January 09:00 plus 2 days and 3 hours
The result date and time is 3 January 12:00, unless a daylight-saving change sits in that window and shifts the local clock.
Example: subtract 90 minutes
Enter −90 in minutes (or −1 hour and −30 minutes). From 1 January 09:00 the result is 1 January 07:30. Negative days, hours, minutes, or seconds all move backward.
Things to keep in mind
End before start yields no result in between mode; it is not treated as a negative duration. Blank add-mode fields count as 0, but at least one field must be filled. Weeks are whole weeks of the elapsed days (floor of days ÷ 7), not a separate input. This is elapsed duration, not a years–months–days calendar difference.
Time duration calculator FAQ
Is this the same as the time calculator?
No. The time calculator adds and subtracts clock times (hours and minutes of day). This page measures elapsed time across dates, or adds a duration to a date and time. Use the time calculator for “what time is 3 hours after 22:00”; use this page for “how long from Monday 09:00 to Tuesday 11:30”.
Does daylight-saving time affect the result?
Yes. Elapsed seconds come from the millisecond difference between the two local date-times, so a spring-forward or fall-back is included. Adding a duration uses the same millisecond arithmetic, so the result clock follows your device’s timezone rules.
How do I add or subtract a duration?
Choose Add / subtract duration, enter the start date and time, and fill days, hours, minutes, and/or seconds. A negative number in any of those fields moves backward. Blank fields count as 0.
What if the end is before the start?
In Between two times there is no result. Swap the two moments, or use Add / subtract duration with negative fields if you want to move backward from a start.
Can I measure an overnight span?
Yes. Put the later calendar date on the end side. 22:00 on 1 January to 06:00 on 2 January is 8 hours. Same-clock times on consecutive days are 24 hours, except when a daylight-saving change sits in between.
Does this time duration calculator store my times?
Completed results can be saved in this browser’s local history so you can reopen them later. They stay on your device and are not sent to our servers or to analytics.