1 | First datetime happens when second does. |
0 | First and second datetime are different. |
FirstDatetime | String in datetime format. |
SecondDatetime | String in datetime format. |
Note that this is basically just
string equal
but is included for the sake of completeness. It does check to verify both inputs are datetimes.
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}
% DatetimeIsAt $FirstDatetime $SecondDatetime
1