Skip to content · 跳到主要内容

Time Duration Calculator

Calculate elapsed hours, minutes and seconds between times or full dates

Duration-Start time
Duration-End time

Elapsed time
--
--
Days
--
Hours
--
Minutes
--
Seconds
--
Total hours
--
Total minutes

Elapsed time between times and dates

Enter two 12-hour clock times or two complete date-times. The result includes normalized days, hours, minutes and seconds plus total hours and minutes.

duration seconds = end date-time − start date-time
1 day = 24 hours

Worked example

A shift starts at 10:45 PM and ends at 2:30 AM. Because the end crosses midnight, the raw subtraction would go negative — this is exactly the case where entering the two complete date-times (with dates) shines. The page returns 4 hours 45 minutes, plus the same duration expressed as 285 minutes or 4.75 hours for payroll sheets that want decimals.

Times only, or full date-times

Two 12-hour clock times are enough when both fall in the same day and you just need the gap. The moment the interval can span midnight, enter dates as well; the calculator normalizes the pair and never returns a negative duration. Total hours and total minutes are reported alongside the broken-down days, hours, minutes and seconds so you can pick whichever form the next step needs.

Timesheets and billing

Hourly work almost always bills in decimal hours: 7 hours 45 minutes is 7.75, not 7.45. Read the total-hours line rather than converting by hand, and remember the reverse when entering — quarter-hour increments map to 0.25, 0.5 and 0.75. For multi-day spans the days field keeps the headline numbers small enough to check at a glance.

Frequently Asked Questions

Can the end time be earlier in Between times mode?

No. That mode compares two times on the same day. Use Between dates and times mode when the interval crosses midnight.

How are complete date-times compared?

Each calendar date is treated as a 24-hour day, then the end time is compared with the start time.

Are daylight-saving changes applied?

No. The date mode uses calendar-day arithmetic and does not adjust for daylight-saving transitions.

Last reviewed: October 5, 2026 · How we calculate · Sources: Published formula reference; verify domain-specific assumptions before making a decision