System::DateTimeOffset::Subtract method

DateTimeOffset::Subtract(const DateTimeOffset&) const method

Subtracts a specified DateTimeOffset value from the current object.

TimeSpan System::DateTimeOffset::Subtract(const DateTimeOffset &value) const
ParameterTypeDescription
valueconst DateTimeOffset&Value to subtract.

ReturnValue

Result of operation.

See Also

DateTimeOffset::Subtract(TimeSpan) const method

Subtracts a specified time interval from the current object.

DateTimeOffset System::DateTimeOffset::Subtract(TimeSpan value) const
ParameterTypeDescription
valueTimeSpanValue to subtract.

ReturnValue

Result of operation.

See Also