Re: [go-nuts] Re: TimeZone Query: Time Difference between EST and UTC

2016-09-30 Thread Ian Lance Taylor
On Fri, Sep 30, 2016 at 3:19 AM, wrote: > > Point 2: > I am not familiar with "time" libraries of other programming languages. When > the time zone given is EST, library should ideally check the current System > time and verify if it is in Daylight Saving OR Not Daylight Saving period > and shoul

[go-nuts] Re: TimeZone Query: Time Difference between EST and UTC

2016-09-30 Thread laxman . vallandas
Point 1: Also can use "US/Eastern" for EST and "US/Pacific" for PST Instead of my previous statement "I would like to give input as EST and map to America/New_York for LoadLocation, and get the output. Similarly for other timezones which has Daylight Savings". When used US/Eastern, difference wi

[go-nuts] Re: TimeZone Query: Time Difference between EST and UTC

2016-09-30 Thread laxman . vallandas
Thanks for the suggestions. Yes during specific set of months, EST is considered as EDT due to daylight saving. During EDT the difference is 4 hours and during EST the difference is 5 hours. Using America/New_York instead of EST, gives the expected result as 4 hours. I would like to give input

[go-nuts] Re: TimeZone Query: Time Difference between EST and UTC

2016-09-29 Thread Adam Webb
Hi, EST is 5 hours difference from UTC. https://www.timeanddate.com/time/zones/est However, most of those locations are currently using EDT which is 4 hours due to daylight savings. This is a common confusion of timezones so it depends on which one you mean. I live in a place that CST all year