How it works
Clock times are converted to seconds. Select next day for an overnight interval.
Input query strings and outputs
Use an input name in this page’s URL as ?name=value, and join additional inputs with &. Portable shared links may instead use the compact ?ac= state parameter.
Input query strings
3-
?startTime=Start timeTime · Required · Default: 09:00
-
?endTime=End timeTime · Required · Default: 17:30
-
?nextDay=End time is on the next dayTrue or false · Optional · Default: false
Outputs
4-
durationDurationText · Primary output
-
totalMinutesTotal minutesNumber
-
decimalHoursDecimal hoursNumber
-
totalSecondsTotal secondsWhole number
Seconds
The browser time input can include seconds when supported.