Place Timezone information into a cookie with JavaScript
This JavaScript will pick up the users timezone offset and place it nto a cookie. This is useful for when you want to diaply times in your web application taking the users location into account.
As the timezone is placed in a cookie it can be extracted by any serverside scripting technology. Javascript returns the timezone information in minutes so the script converts it into hours.
Posted on Friday, Mar 3, 2006

1 Comment
For example:
Beijing
Perth
Taipei
Kula Lumpur
these time zone sharing same GMT Offset (+8:00), so when i receive GMTOffset than at server side i may not be able to get exact time zone.
Leave a Comment