Date Time C# Tutorial

using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Security.Cryptography;
public class MainClass
{
    public static void Main()
    {
        DateTime localNow = DateTime.Now;
        Console.WriteLine("{0} - {1} ({2})", localNow, localNow.Kind,
            TimeZone.CurrentTimeZone.StandardName);
        DateTime utcNow = DateTime.UtcNow;
        Console.WriteLine("{0} - {1}", utcNow, utcNow.Kind);
    }
}