using System;
public class Program
{
public static void Main()
TimeSpan time = TimeSpan.FromSeconds(890);
// backslash is used to ":" colon formatting you will not see it in output
string str = time .ToString(@"hh\:mm\:ss");
Console.WriteLine(str);
}