Subtract()

DateTimeOffset::Subtract(TimeSpan) const method

Subtracts a specified time interval from the current object.

DateTimeOffset System::DateTimeOffset::Subtract(TimeSpan value) const

Arguments

ParameterTypeDescription
valueTimeSpanValue to subtract.

Return Value

Result of operation.

DateTimeOffset::Subtract(const DateTimeOffset&) const method

Subtracts a specified DateTimeOffset value from the current object.

TimeSpan System::DateTimeOffset::Subtract(const DateTimeOffset &value) const

Arguments

ParameterTypeDescription
valueconst DateTimeOffset&Value to subtract.

Return Value

Result of operation.

See Also