TimeZone.GetDaylightChanges : TimeZone « System « C# / C Sharp by API






TimeZone.GetDaylightChanges

  
using System;
using System.Globalization;
public class MainClass {
    public static void Main() {
        TimeZone zone = TimeZone.CurrentTimeZone;
        DaylightTime day = zone.GetDaylightChanges(2008);
        Console.WriteLine(day.Start);
        Console.WriteLine(day.End);
        Console.WriteLine(day.Delta);
    }
}

   
    
  








Related examples in the same category

1.TimeZone.CurrentTimeZone
2.TimeZone.DaylightName
3.TimeZone.GetUtcOffset
4.TimeZone.IsDaylightSavingTime
5.TimeZone.StandardName