Year date format
using System; class Sample { public static void Main() { Console.WriteLine("(Y) Year: . . . . . . . . . . {0:Y}\n",DateTime.Now); } }