Honest Little AppsTools & puzzles

Shift work

Split an overnight shift and unpaid break at midnight

Divide a night shift between two dates, including an unpaid break that crosses midnight. See worked minutes and decimal hours for each record.

Your numbers

1 h 50 min before midnight ยท 5 h 50 min after

7 h 40 min worked in total.

Where do the 20 break minutes go?

A 10 p.m. to 6 a.m. shift contains 480 clock minutes. Take a 20-minute break starting at 11:50 p.m. and ten minutes belong to each date. The two timecard entries become 1 hour 50 minutes and 5 hours 50 minutes. Deducting all 20 minutes from either date gives the right total and the wrong split.

How the calculation works

Use a single overnight shift under 24 hours and one continuous unpaid break. The calculation intersects the break with each calendar day before subtracting it. These are wall-clock hours; enter daylight-saving adjustments separately when clocks change. Pay-period definitions and rounding may differ by workplace.