Adds the specified number of milliseconds to the value of the given DateTime.

Syntax

Smartsite SXML CopyCode image Copy Code
datetime datetime.addmilliseconds(datetime dt, integer milliseconds)

Parameters

Name Data Type Description
dt DateTime A DateTime.
milliseconds Integer A number of whole and fractional milliseconds. This parameter can be negative or positive.

Return Value

Data Type Description
DateTime A DateTime whose value is the sum of the date and time represented by this instance and the given number of milliseconds.

Expand image Example

SXML