TimeOfDayIsAtOrBefore — Check whether given time-of-day is at or before the second.
1 | First time-of-day happens at or before the second. |
0 | First time-of-day does not happen at or before the second. |
FirstTimeOfDay | String in time-of-day format. |
SecondTimeOfDay | String in time-of-day format. |
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.
% TimeOfDayIsAtOrBefore 01:02:03 01:02:03
1
% TimeOfDayIsAtOrBefore 01:02:03 01:00:00
1