<< Click to Display Table of Contents >> Navigation: Reference > Functions > %CAL |
This number converts a number in "day number" format to "date" format.
Form of use:
DI ivar = %CAL(ivar)
The pickup ivar must contain a number calculated by taking 01/Jan/1900 as day 1.
The putdown ivar will have the form yyyymmdd, for example 19920622.
If the pickup ivar is badly formed or out of range, the putdown ivar will be U (undefined).