DateTime Format: h:m:s.F t
using System; using System.Globalization; public class Example { public static void Main() { DateTime date1 = new DateTime(2008, 1, 1, 18, 9, 1, 500); Console.WriteLine(date1.ToString("h:m:s.F t", CultureInfo.InvariantCulture)); } } //6:9:1.5 P