IFDATETIME Conditional branch upon date time comparison |
Top Previous Next |
This command is used to compare two specified date and time strings in the format of Sat Feb 17 11.00.22 2001.
When specifying a date, leading zeroes are required. The following are examples of valid date strings.
Syntactically, no space is permitted to the left of the ‘!’, '=', '<' or '>' symbols, and a space is required to the right of these symbols.
The following conditional branch is taken if the current date is past June 21, 2003 12:00:00 AM.
IFDATETIME> %datetime "Sun Jun 21 12.00.00 2003" goto later date
Related Command(s): DATETIMEADD, DATETIMESUB See also: Using the %date, %datetime, and %time Variables
|