NAME
TimeBetweenTimesOfDay — Return how much time there is between the two given times.
SYNOPSIS
TimeBetweenTimesOfDay FirstTimeOfDay SecondTimeOfDay
DESCRIPTION
Return Value
A string of the form xH yM zS (for hours, minutes, seconds).
Arguments
FirstTimeOfDayThe first time-of-day to measure between.
SecondTimeOfDayThe second time-of-day to measure between.
More Info
Note that the amount of time returned is an absolute value. It makes no difference whether the first time-of-day or the second comes earlier.

For information about how to configure the format, see About Date and Time Commands.


For information regarding exceptions / errors, see here.
EXAMPLES
% TimeBetweenTimesOfDay 12:00:00 13:00:00
1H 0M 0S
SEE ALSO
TimeLeftUntilTargetTimeOfDay, TimeOfDayIsAbout
KEYWORDS
clock, time