Calculate total hours worked from a start time, end time, and unpaid break — including overnight shifts.