Subtract()

TimeSpan::Subtract(TimeSpan) const method

Returns a new instance of TimeSpan class that represents a time interval which is the result of subtraction of the time interval represented by the specified object from the time interval represented by the current object.

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

Arguments

ParameterTypeDescription
valueTimeSpanThe TimeSpan object that represents the time interval to subtract

Return Value

A new instance of TimeSpan class that represents a time interval which is the result of subtraction of the time interval represented by the specified object from the time interval represented by the current object.

See Also