1 | Current time-of-day is at or after target time. |
0 | Current time-of-day is before target time. |
TargetTimeOfDay | Time of day that the current time must come at or after in order for this to return true. |
TimeOfDayIsAtOrAfter
and CurrentTimeOfDay
.The time-of-day should be formatted according to the configuration (see here for details or SetTimeOfDayFormat
). The configuration defaults to %H:%M:%S, which means 12 o'clock is 12:00:00. (And if you are happy with that, you do not have to do anything to make it work, only if you want something different.)
This is intended for use, for instance, with calendar / appointment / reminder apps.
% # Suppose it is now 12:00 PM
% CurrentTimeOfDayIsAtOrAfter 12:00:00
1
% CurrentTimeOfDayIsAtOrAfter 11:59:00
1
% CurrentTimeOfDayIsAtOrAfter 12:01:00
0