DateTime Format: hh:mm:ss tt
using System; using System.Globalization; public class Example { public static void Main() { DateTime date1; date1 = new DateTime(2008, 1, 1, 18, 9, 1); Console.WriteLine(date1.ToString("hh:mm:ss tt", CultureInfo.InvariantCulture)); // Displays 06:09:01 PM Console.WriteLine(date1.ToString("hh:mm:ss tt", CultureInfo.CreateSpecificCulture("hu-HU"))); // Displays 06:09:01 du. } }