The AddMilliseconds function adds a specified number of milliseconds to a DateTime value.
Syntax
|
The AddMilliseconds function adds a specified number of milliseconds to a DateTime value. |
|
AddMilliseconds(dateTime, numMilliseconds) |
|
Arguments: |
|
|
dateTime |
DateTime - The base date and time. |
|
|
numMilliseconds |
Integer - Number of milliseconds to add. A negative value will subtract milliseconds. |
Remarks
- Example: AddMilliseconds("2005-1-28T11:59:59.476", 10) returns 2005-1-28T11:59:59.486.
- Example: AddMilliseconds("2005-1-28T11:59:59.476", -10) returns 2005-1-28T11:59:59.466.
Comments
0 comments
Please sign in to leave a comment.