No matter where my app is run in the world, I need to know what time it is EST.
When setting the time zone to EST using DateTime.SetTimeZone(-5) the time is off by an hour which must be related to daylight savings time.
How do I properly detect EST accounting for DST?
When setting the time zone to EST using DateTime.SetTimeZone(-5) the time is off by an hour which must be related to daylight savings time.
How do I properly detect EST accounting for DST?