System::DateTime::operator+= method

DateTime::operator+= method

Sets the current object to the date and time value that is the sum of the value represented by the current object and the specified time span.

DateTime & System::DateTime::operator+=(TimeSpan value)
ParameterTypeDescription
valueTimeSpanThe time span to add

ReturnValue

A reference to the self

See Also