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






TimeZoneInfo.DisplayName

  

using System;
public class MainClass {
    public static void Main() {

        TimeZoneInfo wa = TimeZoneInfo.FindSystemTimeZoneById("W. Australia Standard Time");

        Console.WriteLine(wa.Id);
        Console.WriteLine(wa.DisplayName);
        Console.WriteLine(wa.BaseUtcOffset);
        Console.WriteLine(wa.SupportsDaylightSavingTime);
    }
}

   
    
  








Related examples in the same category

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