Hours worked between a start and end time, with an optional unpaid break.
If end time is earlier than start time, it's treated as spanning past midnight into the next day.
It's treated as an overnight shift spanning into the next day — the calculator adds 24 hours before subtracting, so a 22:00 start and 06:00 end correctly comes out to 8 hours, not a negative number.
The break in minutes is subtracted directly from the raw end-minus-start duration before anything else is calculated, so it reduces your paid hours worked but never your clocked-in/out span itself.
This calculator splits total hours worked using an 8-hour day: up to 8 hours counts as Regular, and anything beyond that for the same shift is shown separately as Overtime.