AddMilliseconds Function
The AddMilliseconds function adds a specified number of milliseconds to a DateTime value.
Syntax
AddMilliseconds(dateTime, numMilliseconds)
The AddMilliseconds function adds a specified number of milliseconds to a DateTime value.
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