I have found following piece of code for client time zone:
It works fine for positive time zone. But when set negative time zone on system. I got one hour later e.g. if i set -8 time zone on system then i got -7.Code:alert((new Date().getTimezoneOffset()/60) * -1)
ANY IDEA HOW CAN I RESOLVE IT?




Reply With Quote