Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
May 04, 2012 08:33 AM|LINK
If you want subtract 2 times, such as t3=t2-t1, you need to do this:
DateTime t1, t2;
t3 = t2.Subtract(t1);
var text = t3.ToString();
T3 needs to be a TimeSpan not a date time. The subtraction of two times is a time span not a time itself. as in 1:20 - 1:10 = 10 minutes. 10 minutes is not a time it is a time span.
Hope this helpful