AddMilliseconds()

DateTime::AddMilliseconds(double) const method

Returns a new instance of the DateTime class representing the date and time value which is the sum of the value represented by the current object and the specified number of milliseconds.

DateTime System::DateTime::AddMilliseconds(double value) const

Arguments

ParameterTypeDescription
valuedoubleThe number of milliseconds to add; the value can be positive or negative

Return Value

A new instance of the DateTime class representing the date and time value which is the sum of the value represented by the current object and value milliseconds

See Also