 <p>you can do by adding timespan to datetime like,</p> <pre><code> TimeSpan timespan = new TimeSpan(03,00,00); DateTime time = DateTime.Today.Add(timespan); string displayTime = time.ToString("hh:mm tt"); </code></pre> <p>instead of 03,00,00 you can directly pass your timespan variable</p>