using System; class MainClass { public static void Main(string[] args) { DateTime dt6 = DateTime.ParseExact("2:13:30 PM", "h:mm:ss tt", null); Console.WriteLine(dt6); } }