When you want the Time from a DateTime into an TimeSpan:
DateTime date = new DateTime(0001,01,01,12,37,00);
TimeSpan span = new TimeSpan(date.Ticks);
span
will be 12 hours and 37 minutes
When you just want the DateTime or TimeSpan as readable String:
String s = date.ToString();
String s = span.ToString();
Or maybe you read
here^ on how to use format Strings:
Quote:
d: 6/15/2008
D: Sunday, June 15, 2008
f: Sunday, June 15, 2008 9:15 PM
F: Sunday, June 15, 2008 9:15:07 PM
g: 6/15/2008 9:15 PM
G: 6/15/2008 9:15:07 PM