AddMinutes Function
The AddMinutes function adds a specified number of minutes to a DateTime value.
Syntax
AddMinutes(dateTime, numMinutes)
The AddMinutes function adds a specified number of minutes to a DateTime value.
Arguments
dateTime
DateTime - The base date and time.
numMinutes
Integer - The number of minutes to add. A negative value will subtract minutes.
Remarks
Example:
AddMinutes("2005-1-28T06:17:13", 10); // returns 2005-1-28T06:27:13
Example:
AddMinutes("2005-1-28T06:17:13", -10); // returns 2005-1-28T06:07:13