Previous Topic

Next Topic

Book Contents

Book Index

%%$WCALC

The %%$WCALC function performs a shift from the specified date to a working date in the specified calendar, according to indicated instructions. The format of the %%$WCALC function is:

%%$WCALC date instruction calendar

where:

Example

//* %%SET %%A=%%$WCALC 20000717 +1 EXCPTCAL

//* %%SET %%A=%%$WCALC 20000717 > EXCPTCAL

Note: If, in the (resolved) date yyyymmdd, the value of dd exceeds the valid range for the month mm, it is treated as if a dd value of the last day of the month had been specified and the calculation is done accordingly.

Parent Topic

Functions