Night Shift Attendance: How to Count Punches That Cross Midnight

A security guard punches IN at 21:55 on Monday and OUT at 06:05 on Tuesday. That's one normal eight-hour duty. But in a lot of attendance software it shows up as Monday: "IN only — missing OUT" and Tuesday: "OUT only". The result is a half day or absent on both days, a missed-punch report full of noise, and an unhappy guard at salary time.
Why it happens
Simple software groups punches by calendar date. Anything before midnight belongs to Monday, anything after belongs to Tuesday. That works for day shifts and breaks every shift that crosses midnight.
The right way: shift windows
Instead of the calendar date, punches should be matched to a shift. A night shift is defined as 22:00 to 06:00 (crossing midnight). Any punch near 22:00 starts that shift, the punch near 06:00 ends it, and the whole duty counts for the day the shift started. Hours, overtime and late marks are then worked out against that shift.
Things that make it harder
- Rotating staff — the same person is on day shift one week and night shift the next
- Early arrival — a guard who comes at 21:30 should still land on the right shift
- Missing OUT — someone forgets to punch out at 6 in the morning
- Overtime after 06:00 when the next guard is late
- A holiday falling on the night the shift started
- A machine clock that has drifted, pushing punches onto the wrong side of midnight
What good attendance software does
- Lets you define shifts that cross midnight
- Auto-detects the shift from the first punch, so rotating staff don't need a roster change every week
- Pairs IN and OUT automatically, so staff don't have to press IN or OUT keys
- Has a clear rule for missing-OUT punches, plus a way for staff to request a correction
- Keeps the machine clock correct
Night shifts often come with overtime too — see how to calculate overtime from biometric attendance.
Attenza supports fixed, rotational and night shifts across midnight, auto-detects the shift from the first punch, pairs IN/OUT automatically and handles missing OUT punches — with miss-punch requests from the staff app and the machine clock corrected automatically.
Frequently asked questions
Which date does a night shift count on?
Usually the date the shift started. A 22:00 Monday to 06:00 Tuesday shift counts as Monday's attendance.
What if an employee forgets to punch out after a night shift?
Your policy should say how a missing OUT is treated, and staff should be able to raise a miss-punch request for HR to approve.
Can the same employee rotate between day and night shifts?
Yes. Use rotational shifts or let the software detect the shift from the first punch, so the right shift is picked each day.
Put your biometric machine on the cloud
Attenza turns eSSL / ZKTeco punches into attendance, payroll and gate logs — no PC, no static IP. Free 14-day trial.


