News for hackers. Stuff that matters.
Re:JavaScript Internationalization API by thomasfoster96 on Friday December 26, 2014 @12:34AM (#8798165)
Well, I'm not sure if JavaScript's date constructor has issues with accuracy, but I'm pretty sure you can get the timezone offset in minutes using the following:

    (new Date()).getTimezoneOffset()
I'd assume it's returning the system time zone offset, and for me it's correct.

There are no comments on this comment yet.