Current date and time

   
 

using System;
using System.Globalization;

class MainClass {
    public static void Main() {
        
        Console.WriteLine("Current Date and Time: {0}", DateTime.Now.ToString());
        Console.WriteLine("Current Date Only: {0}", DateTime.Today.ToString());

    }
}