Subtracts one TimeSpan value from specified TimeSpan.
[C#] public static TimeSpan operator -( TimeSpan t1, TimeSpan t2 ); [C++] public: static TimeSpan operator op_Subtraction( TimeSpan t1, TimeSpan t2 ); [JScript] returnValue = t1 - t2;
[Visual Basic] In Visual Basic, you cannot use the operators defined by a type, nor override them or define your own.
[JScript] In JScript, you can use the operators defined by a type, but you cannot override them or define your own.
The TimeSpan that results from subtracting the two TimeSpan values.
This TimeSpan operator performs the arithmetic operation of subtracting two specified TimeSpan values (t1- t2). and returns a new TimeSpan that is the difference.