DatetimeIsAtOrAfter — Check whether first datetime happens at or after second.
1 | First datetime is at or after the second. |
0 | First datetime is before the second. |
FirstDatetime | String in datetime format. |
SecondDatetime | String in datetime format. |
This command is like greater than or equal to (>=).
Note this command is effectively
![DatetimeIsBefore $FirstDatetime $SecondDatetime]
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.
% set FirstDatetime {2000-01-02 03:04:05}
% set SecondDatetime {2000-01-02 03:04:05}
% DatetimeIsAtOrAfter $FirstDatetime $SecondDatetime
1