General date long time format

image_pdfimage_print
   
  

using System;
class Sample 
{

    public static void Main() 
    {
       Console.WriteLine("(G) General date/long time: . {0:G}
",DateTime.Now); 
    }
}