Time Duration Calculator

Calculate elapsed hours, minutes, and seconds between local date-time inputs, including overnight shifts.

Measure elapsed time between two local date-and-time entries, with total hours, minutes, seconds, and a days-plus-time breakdown. If both dates match and the end time is earlier, the tool treats it as crossing midnight.

For a span across multiple dates, enter both dates explicitly.

  1. Enter the start date and time.
  2. Enter the end date and time; use a later date for multi-day spans.
  3. Review the elapsed totals and days/hours/minutes/seconds breakdown.
  4. Check the time zone and daylight-saving transition if the interval crosses a clock change.

Elapsed-time method

Elapsed duration = end instant − start instant. For a same-date end time earlier than the start time, the calculator advances the end to the following local calendar day.

Local clock times can be ambiguous or skipped when daylight-saving time begins or ends. This tool uses the browser’s local time zone; it does not ask you to select a time zone or resolve repeated clock times.

How to read the duration

Totals and a split are shown

Total hours, minutes, and seconds are cumulative units. The split expresses complete 24-hour periods and the remaining local-time hours, minutes, and seconds. A daylight-saving transition can make a local calendar day shorter or longer than 24 elapsed hours.

Everyday Life tips and best practices

Same-day example: 09:00 to 17:00 on the same date is 8 hours, 0 minutes, and 0 seconds.

Overnight example: 22:30 to 06:15 on the same entered date treats the end as the next day: 1 hour 30 minutes to midnight plus 6 hours 15 minutes = 7 hours, 45 minutes, and 0 seconds.

Common mistakes to avoid

Related tools: Date Difference Calculator; Time Zones Calculator; Travel Time Calculator; browse the everyday-life category.

This is elapsed-time arithmetic, not a payroll, legal-hours, billing, or attendance determination. Time-zone databases and daylight-saving policies can change; verify the relevant clock convention for official records.

Related Calculators