Example 1
DateAddMonths(Now(),7)
Will add seven months to the result of the Now function.
Adds a specified number of months to a date value.
DateAddMonths(Start Date, Months)
Where:
Start Date The date to adjust.
Months The number of months to add. Negative values can be used to subtract.
DateAddMonths(Now(),7)
Will add seven months to the result of the Now function.
DateAddMonths(Now(),-4)
Will subtract four months from the result of the Now function.
DateAddMonths(DatePicker1Return,8)
Will add eight months to the result of the Date Picker control.