Parameters
- interval
- Required. DateInterval enumeration value or String expression representing the time interval you want to add.
- number
- Required. Double. Floating-point expression representing the number of intervals you want to add. number can be positive (to get date/time values in the future) or negative (to get date/time values in the past). It can contain a fractional part when interval specifies hours, minutes, or seconds. For other values of interval, any fractional part of number is ignored.
- dateValue
- Required. Date. An expression representing the date and time to which the interval is to be added. dateValue itself is not changed in the calling program.
Return Value
Returns a Date value containing a date and time value to which a specified time interval has been added.