How long between 9:30 AM and 5:45 PM — or between a 10 PM departure and a 6:30 AM arrival? Enter any start and end time on the 24-hour clock and get the exact duration, including overnight spans.
Whenever the end time is earlier than the start time, it is treated as falling on the next day — the standard assumption for shifts, flights and journeys.
Payroll, billing and timesheets often need hours as a decimal (8.25 instead of 8:15). Both forms are shown so you can use whichever your form demands.
Identical times mean a duration of zero — enter an end time earlier than the start if you mean a full day later.