The AddMinutes function adds a specified number of minutes to a DateTime value.
Syntax
|
The AddMinutes function adds a specified number of minutes to a DateTime value. |
|
AddMinutes(dateTime, numMinutes) |
|
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.
Comments
0 comments
Article is closed for comments.