DateTimeInterval.addIntervalToDate Method
Adds an interval in place to date.
This method is static.
Parameters
- date
-
Type: Date
The date.
- interval
-
Type: Number
The quantity to add.
- intervalType
-
Type: DateTimeIntervalType
The type of quantity to add.
Return Value
Type: Date
The new value of date.