Two clock times, one difference
The page offers a Start Time and an End Time field, both in hours and minutes, beside a Calculate button. Nothing is computed until it is pressed, because the answer panel starts hidden. Each time becomes seconds through hours times 3600 plus minutes times 60, and the end value minus the start value is what the large figure reports.
A worked example
Defaults of 00:00 and 01:30 resolve to 0 and 5400, so the panel opens showing 5400 under Total Seconds. Change the pair to 09:15 and 17:40 for 30300, which is 8.42 hours of elapsed clock time. Put 22:00 against 02:00 and the difference starts negative, so 86,400 is added and the display reads 14400 for the four hours across midnight. Equal times produce 0, and 00:00 to 23:59 is the ceiling at 86340.
The midnight rule
A negative result is read as an interval running past the end of one day into the next, and one full day is added to make it positive. That is the only carry logic present, so an interval genuinely longer than a day cannot be expressed, since no date is attached to either field.
Where it stops
- Minutes are the finest unit accepted, so a value typed as 00:00:30 still reads as 00:00 and those seconds vanish.
- Clearing either field leaves the arithmetic undefined, and the panel appears showing the literal text NaN rather than refusing.
- The answer is one bare number, with no separators, no hours-minutes-seconds breakdown and no day count.
- One interval at a time, with no running total and no timezone handling.
Questions people ask
Does it cross midnight?
Once. The wrap adds exactly one day, so anything needing two is reported short by 86,400 seconds.
How do minutes come out of the answer?
Divide by 60 by hand, or send the same pair of times to the minutes calculator.
What about longer spans?
Whole hours belong to the hours calculator, and an interval that crosses calendar days is the job of the time duration calculator.