hi,
How to convert US time to Client Zone time in VS 2005.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Gaurav MalviyaRank #2,660 · 522 reputationPosted Jan 10, 2014, 9:02 PM EST
Eastern Daylight Time isn't the name of a "full" time zone - it's "half" a time zone, effectively, always 4 hours behind UTC. (There may be proper terminology for this, but I'm not aware of it.)
Why would you want to use EDT for times which don't have daylight savings applied? If you want a custom time zone that always has the same offset to UTC, use
TimeZoneInfo.CreateCustomTimeZone.Note that if you use get the Eastern Standard timezone (
TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time")) then that will still have daylight saving time applied appropriately (i.e. during summer).For example:
TimeZoneInfo tzi = TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time"); // Prints True Console.WriteLine(tzi.IsDaylightSavingTime(new DateTime(2009, 6, 1))); // Prints False Console.WriteLine(tzi.IsDaylightSavingTime(new DateTime(2009, 1, 1)));