Format date value as short date format
using System; class Sample { public static void Main() { Console.WriteLine("(d) Short date: . . . . . . . {0:d}\n",DateTime.Now); } }