1 | First date is on or before the second. |
0 | First date is after the second. |
FirstDate | String in date format. |
SecondDate | String in date format. |
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.
% DateIsOnOrBefore 2000-01-01 2000-01-01
1
% DateIsOnOrBefore 2000-01-01 2000-01-02
1