DateTime Format: hh:mm:ss.ff
using System; using System.Globalization; public class Example { public static void Main() { DateTime date1 = new DateTime(2008, 8, 29, 19, 27, 15, 18); CultureInfo ci = CultureInfo.InvariantCulture; Console.WriteLine(date1.ToString("hh:mm:ss.ff", ci)); // Displays 07:27:15.01 } }