TimeSpan ts = new TimeSpan(24);
DateTime dt = Convert.ToDateTime(ts.ToString());
Response.Write(dt);
Output:12/10/2012 12:00:00 AM
TimeSpan ts = new TimeSpan(12);
It will give following output :12/10/2012 12:00:00 PM