operator+()

DateTimeOffset::operator+(TimeSpan) const method

Returns a new instance of DateTimeOffset class that represents the date and time value that is the sum of the value represented by the current object and the specified time span.

DateTimeOffset System::DateTimeOffset::operator+(TimeSpan value) const

Arguments

ParameterTypeDescription
valueTimeSpanThe time span to add to the value represented by the current object

Return Value

A new instance of DateTimeOffset class that represents the date and time value that is the sum of the value represented by the current object and value.

See Also