NAME
TimeOfDayIsAtOrBefore — Check whether given time-of-day is at or before the second.
SYNOPSIS
TimeOfDayIsAtOrBefore FirstTimeOfDay SecondTimeOfDay
DESCRIPTION
Return Value
1 First time-of-day happens at or before the second.
0 First time-of-day does not happen at or before the second.
Arguments
FirstTimeOfDayString in time-of-day format.
SecondTimeOfDayString in time-of-day format.
More Info
This command is like less than or equal to (<=). Note this command is effectively ![TimeOfDayIsAfter $FirstTimeOfDay $SecondTimeOfDay] but still we include it for the sake of convenience / expressiveness.

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


For information regarding exceptions / errors, see here.
EXAMPLES
% TimeOfDayIsAtOrBefore 01:02:03 01:02:03
1
% TimeOfDayIsAtOrBefore 01:02:03 01:00:00
1
SEE ALSO
SetTimeOfDayFormat, TimeOfDayIsAfter, TimeOfDayIsAt, TimeOfDayIsAtOrAfter, TimeOfDayIsBefore, TimeOfDayIsBetween
KEYWORDS
check, time, verification