Future date as decimal number
DATE1P+d, &DATE1P+d, DATE2P+m, &DATE2P+m, DATE3P+d, or &DATE3P+d can be used to generate a decimal number for a future date relative to the current date of the run. d is days in the future and m is months in the future. d and m can be 0 to 9999.
Table 1 shows the form of the decimal number constant generated for each future date operand along with an example of the actual decimal number generated when the date of the run is June 21, 2005. yyyy represents the year, mm represents the month (01-12) , dd represents the day (01-31) and ddd represents the day of the year (001-366).
Decimal Numbers for Future DatesFormat of Operand
|
Format of Constant | Example of Operand | Example of Constant |
---|---|---|---|
DATE1P+d | +yyyymmdd | DATE1P+11 | +20050702 |
DATE2P+m | +yyyymm | DATE2P+2 | +200508 |
DATE3P+d | +yyyyddd | DATE3P+200 | +2006007 |
Note: You can precede each of the operands in the table
with an & with identical results.