TimeZoneInfo.Local : TimeZoneInfo « System.Globalization « C# / C Sharp by API






TimeZoneInfo.Local

  

using System;
public class MainClass {
    public static void Main() {
        TimeZoneInfo zone = TimeZoneInfo.Local;
        Console.WriteLine(zone.StandardName);
        Console.WriteLine(zone.DaylightName);
    }
}

   
    
  








Related examples in the same category

1.TimeZoneInfo.AdjustmentRule
2.TimeZoneInfo.BaseUtcOffset
3.TimeZoneInfo.DisplayName
4.TimeZoneInfo.FindSystemTimeZoneById
5.TimeZoneInfo.GetAdjustmentRules()
6.TimeZoneInfo.GetSystemTimeZones()
7.TimeZoneInfo.SupportsDaylightSavingTime