How do I format a timespan to show me total hours?

You could do something like:

TimeSpan time = ...;
string timeForDisplay = (int)time.TotalHours + time.ToString(@"\:mm\:ss");

Leave a Comment