NAME
DateIsOnOrBefore — Check if first date comes on or before the second date.
SYNOPSIS
DateIsOnOrBefore FirstDate SecondDate
DESCRIPTION
Return Value
1First date is on or before the second.
0 First date is after the second.
Arguments
FirstDateString in date format.
SecondDateString in date format.
More Info
This command is like less than or equal to (<=). Note this command is effectively ![DateIsAfter $FirstDate $SecondDate] 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.
EXAMPLES
% DateIsOnOrBefore 2000-01-01 2000-01-01
1
% DateIsOnOrBefore 2000-01-01 2000-01-02
1
SEE ALSO
DateIsAfter, DateIsBefore, DateIsBetween, DateIsOn, DateIsOnOrAfter, DatetimeIsAtOrBefore, SetDateFormat
KEYWORDS
check, date, verification