Adds a number of specified intervals to the start date.
The parameter intervalType specifies a string specification of the date part that should extracted:
DateAdd( intervalType, nIntervals, startDateTime )
| intervalType | String specification of the date part that should extracted. |
|---|---|
| nIntervals | Number of intervalls that will be added. |
| startDateTime | Specifies the start date to that the number of intervalls will be added. |
DateTime
DateAdd( "yyyy", 1, DateTime (2009, 12, 23)) -> Returns the datetime 12/23/2010 12:00:00 AM.