using System;
class MainClass
{
public static void Main()
{
Console.WriteLine("DateTime.Now = " + DateTime.Now);
Console.WriteLine("DateTime.UtcNow = " + DateTime.UtcNow);
DateTime myDateTime = DateTime.Now;
Console.WriteLine("myDateTime = " + myDateTime);
DateTime myDateTime2 = DateTime.UtcNow;
Console.WriteLine("myDateTime = " + myDateTime);
}
}
DateTime.Now = 25/03/2007 2:26:19 PM
DateTime.UtcNow = 25/03/2007 9:26:19 PM
myDateTime = 25/03/2007 2:26:19 PM