Dates & time
Merge clock-time intervals
Calculate distinct occupied time from overlapping same-day intervals.
A clear answer. Here’s how.
Treats up to 10,000 intervals as half-open [start,end) within one 24-hour clock day. End may be 24:00; start must be before 24:00 and end after start. Sorts and merges overlapping or touching intervals and reports total distinct minutes. Overnight spans must be split at midnight. No date, zone, break or payroll policy is inferred.
See a worked example
Worked example
A fixed demonstration, separate from the values you enter above.
- CSV: Start,End (24-hour HH:MM)
Start,End 09:00,10:30 10:00,11:00 13:00,14:00
Example result
| Start | End (excluded) | Distinct minutes |
|---|---|---|
| 09:00 | 11:00 | 120 |
| 13:00 | 14:00 | 60 |
3 hours occupied in this same-day clock model.