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);
}
}
|