AddMonth()

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

AddMonth()

Previous pageReturn to chapter overviewNext page

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.