Time Duration Calculator
Calculate elapsed hours, minutes and seconds between times or full dates
Calculate elapsed hours, minutes and seconds between times or full 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.
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.
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.
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.
输入两个 12 小时制时刻,或输入完整的起止日期时间。结果同时显示标准化的天、时、分、秒以及总小时数和总分钟数。
晚班 22:45 上班、次日 02:30 下班。结束时间跨了午夜,直接相减会得负数——这正是输入完整日期时间(带日期)的用武之地。页面返回 4 小时 45 分,同时给出折算的 285 分钟或 4.75 小时,考勤表要小数时直接抄。
两个时刻都在同一天、只求间隔时,输 12 小时制时刻就够。一旦间隔可能跨午夜,请把日期也带上;计算器会自动归一化,永远不会给出负时长。除了按天/时/分/秒拆开的明细,页面还同时给出总小时数和总分钟数,下一步要用哪种形式就抄哪种。
计时工作几乎都按小时小数结算:7 小时 45 分应记 7.75 而不是 7.45。直接读「总小时」那一行,别手动换算;反向录入时记住一刻钟对应 0.25、半小时 0.5、三刻钟 0.75。跨多天的区间由「天」字段扛大头,一眼就能核对。
No. That mode compares two times on the same day. Use Between dates and times mode when the interval crosses midnight.
Each calendar date is treated as a 24-hour day, then the end time is compared with the start time.
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
最近复核:2026 年 10 月 5 日 · 我们的计算方法 · 来源:公式用于参考;涉及专业决定时请核对适用条件