AddMonths                                                                                             Function

 

ADDMONTHS(theDate as Date, Months as Integer)

 

Description

Adds Months to theDate and returns the new date value.

 

Example

Dim theDate as Date

Dim newDate as Date

TheDate=ToDate("03/01/98")

newDate=AddMonths(theDate, 15) 'adds 15 months

 

newDate will now have a date of June 1, 1999