TimeSpan format: d\.hh\:mm\:ss
using System; public class Example { public static void Main() { TimeSpan ts2 = new TimeSpan(4, 3, 17); Console.WriteLine(ts2.ToString(@"d\.hh\:mm\:ss")); } } //0.04:03:17