using System; class MainClass { public static void Main() { DateTime dt = DateTime.Now; Console.WriteLine("Time is {0:hh:mm tt}", dt); } }
Time is 01:53 PM