The GetDaylightChanges method returns specific daylight saving information for a given year : TimeZone : Development Class C# Source Code


Custom Search

C# Source Code » Development Class » TimeZone »

 

The GetDaylightChanges method returns specific daylight saving information for a given year








    
 

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);
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Development Class
» TimeZone