Gets a TimeZoneInfo object that represents the Coordinated Universal Time (UTC) zone.
using System;
public class Example
{
public static void Main()
{
TimeZoneInfo universalZone = TimeZoneInfo.Utc;
Console.WriteLine("The universal time zone is {0}.", universalZone.DisplayName);
Console.WriteLine("Its standard name is {0}.", universalZone.StandardName);
Console.WriteLine("Its daylight savings name is {0}.", universalZone.DaylightName);
}
}
Related examples in the same category