System::DateTime::AddSeconds method

DateTime::AddSeconds 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 seconds.

DateTime System::DateTime::AddSeconds(double value) const
ParameterTypeDescription
valuedoubleThe number of seconds to add; the value can be positive or negative

ReturnValue

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 seconds

See Also