TimeSpan ts = new TimeSpan(14, 43, 00); DateTime dt = DateTime.Today.Add(ts); string s = dt.ToString("h:mm tt");
static TimeSpan ParseTimeSpan(string s) { DateTime datum = DateTime.Today; TimeSpan result = DateTime.Parse(datum.ToString("MM/dd/yyyy") + " " + s).Subtract(datum); return result; }