Long date format Posted on February 11, 2011June 27, 2015 by coder using System; class Sample { public static void Main() { Console.WriteLine("(D) Long date:. . . . . . . . {0:D} ",DateTime.Now); } }