Duration Between Two Times
Convert both times to minutes since midnight (or seconds), subtract end − start. If end < start, crossing midnight → add 24 hours to end.
Example: 10:30 PM to 2:15 AM next day:
22:30 → 1350 min from midnight
02:15 → 135 min + 24×60 = 1575 min (next day)
Duration = 1575 − 1350 = 225 min = 3h 45m
Decimal Hours for Payroll
| Worked | Decimal hours |
|---|---|
| 7h 30m | 7.5 |
| 15 min | 0.25 |
Decimal = hours + minutes/60
Overtime rules (1.5×) are legal — not just math.
Daylight Saving Time
On DST transition days, local times repeat or skip — wall-clock duration can be 23h or 25h for a "day."
UTC math avoids ambiguity — scheduling apps store timestamps in UTC internally.
How to Use This Time Calculator
Enter start and end times (with optional next day flag). Get duration in hours:minutes and decimal hours for timesheets and billing.
