Clock Time Difference Calculator
Calculate elapsed minutes between two 24-hour clock times, with an explicit overnight option.
Result for the values shown.
Calculations run in your browser.
What to enter
| Input | Meaning and units |
|---|---|
| Start | HH:MM 24-hour |
| End | HH:MM 24-hour |
| End clock time is on | boolean |
Understanding your result
Calendar results use the stated counting and anniversary convention. Complete months and years differ from fixed day counts.
Common mistakes
- Counting both end dates when the method excludes a boundary, or assuming all months have equal length.
Check your calculation
- Test a short known interval and a leap-day boundary; for working days, verify your holiday list.
Calculation checks, sources and review limits
How many minutes are between two clock times, including overnight?
Calculate elapsed minutes between two 24-hour clock times, with an explicit overnight option.
Common uses
- Calculate elapsed minutes between two 24-hour clock times, with an explicit overnight option.
How it works
difference=endMinutes-startMinutes; add 1440 only when explicit nextDay=true. Calendar arithmetic uses the proleptic Gregorian calendar. Explicit calendar dates are independent of local daylight-saving changes. Month/year additions clamp to the last valid day of the destination month. Timestamp arithmetic requires a stated UTC offset and excludes leap seconds.
Worked example
Enter Start: 23:30; End: 01:00; End clock time is on: true. The result is Minutes: 90.
FAQ
How many minutes are between two clock times, including overnight?
difference=endMinutes-startMinutes; add 1440 only when explicit nextDay=true. Calendar arithmetic uses the proleptic Gregorian calendar. Explicit calendar dates are independent of local daylight-saving changes. Month/year additions clamp to the last valid day of the destination month. Timestamp arithmetic requires a stated UTC offset and excludes leap seconds.
What assumptions and limits apply?
Clock times alone cannot determine timezone/DST or dates.