1 | Current time-of-day is after target time. |
0 | Current time-of-day is at or before target time. |
TargetTimeOfDay | Time of day that the current time must come after in order for this to return true. |
TimeOfDayIsAfter
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
% CurrentTimeOfDayIsAfter 11:00:00
1
% CurrentTimeOfDayIsAfter 12:01:00
0