Why doesn't System.TimeSpan have a ToString() overload that takes formatting info?
I should not have to do this:
DateTime dt = new DateTime(1, 1, 1, ts.Hours, ts.Minutes, ts.Seconds );string result = dt.ToShortTimeString();
Dumb.
Be the first to rate this post
The content of this site is my own personal opinion and does not in any way represent my employer, it's subsideries or affiliates. These postings are provided "AS IS" with no warranties, and confer no rights.
© Copyright © Peter Provost 2003-2010