The %%$CALCDATE function performs date calculations based on a given date. The valid format is
%%$CALCDATE date ± quantity
In this format
Note: %%$CALCDATE operates on Gregorian dates only; Julian dates (such as %%JULDAY) cannot be specified.
Example
DO SET=%%A = %%$CALCDATE %%$RDATE -1
On February 1, 2000
DO SET=%%A = 000131
Parent Topic |