NAME
DatetimeIsBefore — Check whether the first datetime is before the second.
SYNOPSIS
DatetimeIsBefore FirstDatetime SecondDatetime
DESCRIPTION
Return Value
1 First is before the second.
0 First is not before the second.
Arguments
FirstDatetimeString in datetime format.
SecondDatetimeString in datetime format.
More Info
This command is like less than (<).

For information about how to configure the format, see About Date and Time Commands.


For information regarding exceptions / errors, see here.
EXAMPLES
% DateTimeIsBefore {2000-01-02 03:04:05} {2000-01-02 03:04:06}
1
SEE ALSO
DateIsBefore, DatetimeIsAfter, DatetimeIsAt, DatetimeIsAtOrAfter, DatetimeIsAtOrBefore, DatetimeIsBetween, SetDatetimeFormat
KEYWORDS
check, datetime, verification