|
How to: |
The AYMD function adds days to or subtracts days from a date in year-month-day format. You can convert a date to this format using the CHGDAT or EDIT function.
AYMD(indate, days, output)
where:
I6, I6YMD, I8, I8YYMD
Is the legacy date in year-month-day format. If the date is not valid, the function returns the value 0 (zero).
Integer
Is the number of days you are adding to or subtracting from indate. To subtract days, use a negative number.
I6, I6YMD, I8, or I8YYMD
If the addition or subtraction of days crosses forward or backward into another century, the century digits of the output year are adjusted.
| WebFOCUS | |
|
Feedback |