The TimeZoneInfo class works in a similar manner. TimeZoneInfo.Local returns the current local time zone:
using System; public class MainClass { public static void Main() { TimeZoneInfo zone = TimeZoneInfo.Local; Console.WriteLine(zone.StandardName); Console.WriteLine(zone.DaylightName); } }