OddCalc
OddCalc/Time

Time Difference

Hours and minutes between two times.

How it works

Handles overnight spans. Useful for shifts and countdowns.

Worked example with the defaults

This example is calculated from the page defaults. Change the form to update the live result.

Start09:00
End18:30
Calculated result9h 30m · 570 minutes
Hours9.50
Share of day39.6%

Overnight-time handling

If the end clock time is earlier than the start, it is treated as occurring the next day.

Limits and assumptions

  • Inputs contain clock times only, so shifts longer than 24 hours or multiple days cannot be represented.
  • Equal start and end times produce zero, not an assumed 24-hour shift.
  • Breaks, daylight-saving clock changes and unpaid time are not deducted.

Common questions

How is an overnight shift handled?

22:00 to 06:00 is read as ending the next day, for eight hours.

Do equal times mean 24 hours?

No. The result is zero; use dates for a full-day span.

Same category