using System; class MainClass { public static void Main() { DateTime dt = DateTime.Now; Console.WriteLine("Date is {0:ddd MMM dd, yyyy}", dt); } }
Date is Sun Mar 25, 2007