using System; class Mytimez { public static void Main() { //it will give your daylightname , if u are in U.S your //time may be Eastern,Central r pacific Console.WriteLine("DaylightName :-"+System.TimeZone.CurrentTimeZone.DaylightName); //it will give your timezone Name Console.WriteLine("StandardName :-"+System.TimeZone.CurrentTimeZone.StandardName); //new date time stamp (YYYY/MM/DD) System.DateTime s=new System.DateTime(2001,12,25); //Day light saving is true means it will return True //other wise false. Console.WriteLine("DaylightSaving :-"+System.TimeZone.CurrentTimeZone.IsDaylightSavingTime(s)); //convert given time to UniversalTime Console.WriteLine("UniversalTime :"+System.TimeZone.CurrentTimeZone.ToUniversalTime(s)); //Convert given time to your local time. Console.WriteLine("LocalTime :"+System.TimeZone.CurrentTimeZone.ToLocalTime(s)); } }