addMilliseconds

addMilliseconds(value)

Adds the specified number of milliseconds to the value of this instance.

ParameterTypeDescription
valuefloatA number of whole and fractional milliseconds. The value parameter can be negative or positive. Note that this value is rounded to the nearest integer.

Returns: A DateTime object whose value is the sum of the date and time represented by this instance and the number of milliseconds represented by value.