NAME
DatetimeIsAt — Check whether the first datetime happens at the second.
SYNOPSIS
DatetimeIsAt FirstDatetime SecondDatetime
DESCRIPTION
Return Value
1 First datetime happens when second does.
0 First and second datetime are different.
Arguments
FirstDatetimeString in datetime format.
SecondDatetimeString in datetime format.
More Info
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.
EXAMPLES
% set FirstDatetime {2000-01-02 03:04:05}
% set SecondDatetime {2000-01-02 03:04:05}
% DatetimeIsAt $FirstDatetime $SecondDatetime
1
SEE ALSO
DateIsOn, DatetimeIsAfter, DatetimeIsAtOrAfter, DatetimeIsAtOrBefore, DatetimeIsBefore, DatetimeIsBetween, SetDateFormat, SetDatetimeFormat
KEYWORDS
check, datetime, verification