Javascript's Date.getTimezoneOffset()

Posted by SquidScareMe on Stack Overflow See other posts from Stack Overflow or by SquidScareMe
Published on 2009-07-28T15:31:01Z Indexed on 2010/03/31 22:43 UTC
Read the original article Hit count: 112

Filed under:

I'm trying to compare a GMT time offset from the operating system to a GMT time offset from Javascript's Date.getTimezoneOffset(). The problem is windows gives an offset based on EST while javascript gives an offset based on EDT. There is an hour difference between these two. Does anyone know how to make Javascript use the Standard Times like Windows? Thank you.

© Stack Overflow or respective owner

Related posts about JavaScript