I use this code for converting Timespan to String (for ex: 14:53) :
Timespan
String
myTimeSpan.ToString(\"hh:mm\");
but this erro
You need to use @"hh\:mm\" for TimeSpan. Timespan formatting is not exactly same as DateTime
@"hh\:mm\"
TimeSpan
DateTime
myTimeSpan.ToString(@"hh\:mm");
Check out Msdn for more info