How to calculate a time duration
To find the time between two moments, subtract the start date and time from the end date and time. The calculator does the subtraction for you and breaks the difference into days, hours, minutes and seconds, plus totals in hours, minutes, seconds, days and weeks.
Worked example: from 20 November 2026 at 09:30 to 21 November 2026 at 14:45 is 1 day, 5 hours and 15 minutes — that is 29 hours 15 minutes, or 29.25 hours, 1,755 minutes and 105,300 seconds.
Common uses
Shift length: a shift from 09:15 to 17:45 on the same day lasts 8 hours 30 minutes (8.5 hours). Project elapsed time: measure exactly how long a task ran between its start and finish. Flight time: work out a journey that crosses midnight — 23:00 to 01:30 the next day is 2 hours 30 minutes. Age in days: the days between a birth date and today.
Adding and subtracting time
Switch to the add / subtract mode to move a date and time forward or back by a duration. A 3-day, 4.5-hour trip starting on Saturday, 21 November 2026 at 10:00 ends on Tuesday, 24 November 2026 at 14:30.
Note: times are in your own time zone. If a duration crosses a daylight-saving change, the result can shift by an hour.
Frequently Asked Questions
How do I calculate the time between two times?
Subtract the start time from the end time. Enter both dates and times in the calculator and it shows the difference in days, hours, minutes and seconds. For example, from 20 November 2026 at 09:30 to 21 November 2026 at 14:45 is 1 day, 5 hours and 15 minutes (29.25 hours).
How do I add hours to a time?
Use the add / subtract mode: enter the start date and time, enter the hours (and days and minutes), choose Add, and the calculator shows the resulting date and time. For example, 21 November 2026 at 10:00 plus 3 days, 4 hours and 30 minutes is Tuesday, 24 November 2026 at 14:30.
What if the end time is on the next day?
Enter the full date for both times, not just the clock time. For example, 23:00 on 20 November to 01:30 on 21 November is 2 hours and 30 minutes. The calculator crosses midnight automatically when the end date is after the start date.
How many hours is a week?
One week is 7 days, which is 168 hours, 10,080 minutes or 604,800 seconds.
Does daylight saving time affect the result?
Yes, by up to an hour around the change. The calculator uses your browser's local time, so a duration that crosses a daylight-saving change can be an hour shorter or longer than the same number of days suggests.
How is this different from the Days From Today calculator?
The Days From Today calculator counts whole calendar days from today. This calculator measures the exact elapsed time between any two moments, down to the minute and second, and it can also add or subtract a duration from any date and time.