Make the next day explicit
A clock time contains no date. For 22:00 to 06:00, the Next day option adds 1,440 minutes before subtracting the starting time. Without it, the finish appears earlier than the start and the tool rejects the entry. This catches a common typing mistake instead of quietly turning it into an overnight shift.
Midnight is 00:00
A shift from 20:00 to midnight ends at 00:00 on the next day, giving four clock hours. An entry from 00:00 to 08:00 on the same day gives eight. If the start and finish are identical, same-day means zero clock minutes while next-day means 24 clock hours. Use the dates in your actual record to decide which situation you mean.
Separate a clock reading from elapsed time
When clocks move back during a shift, the clock readings can hide an extra elapsed hour. A 22:00–06:00 next-day shift normally shows eight clock hours. If a one-hour backward change actually occurs during that interval, a +60-minute adjustment gives nine elapsed hours before breaks. A one-hour forward change uses −60 and gives seven. The adjustment is a supplied fact, not a prediction: verify the location, date and actual clock change first.
Deduct only the break minutes you intend to exclude
With the +60 adjustment and a 30-minute unpaid break, the worked example becomes 480 + 60 − 30 = 510 minutes, or 8.50 hours. If there was no clock change, leave the adjustment at zero. Do not enter a normal lunch as both a negative adjustment and an unpaid break; that subtracts it twice.
Crossing midnight is not a time-zone calculation
The tool does not infer daylight-saving rules, travel between time zones, calendar dates or payroll allocations. It accepts one interval of at most 24 clock hours plus the entered adjustment. For travel, a shift longer than this limit, or a workweek-boundary split, use a record with explicit dates and time zones and reconcile the relevant intervals separately.