AddMonth()
<< Click to Display Table of Contents >> AddMonth() |
![]() ![]() ![]() |
Purpose
To add a specified number of months to a date
Syntax
AddMonth( <dDate>, <nMonths> ) dNewDate
Arguments
<dDate> is the date to add or subtract months from
<nMonths> is the number of months to add or subtract from the date. If nMonths is negative, months are subtracted.
Returns
AddMonth() returns a new date that is dDate incremented by nMonths.