Re: Getting users timezone-offset (javascript)

2008-08-09 Thread Peer Brink
On Tue, Aug 5, 2008 at 18:59, Josh Canfield <[EMAIL PROTECTED]> wrote: > I looked around a bit for a solution once and ended up just sticking the > offset into a hidden form field. Dear Josh, this in fact is working and seems to be a quite simple solution compared to other possibilties I was thin

Re: Getting users timezone-offset (javascript)

2008-08-05 Thread Josh Canfield
I looked around a bit for a solution once and ended up just sticking the offset into a hidden form field. If you need the offset from something other than a form post then you'd have to do something more creative, like stick it in a cookie or something. On Tue, Aug 5, 2008 at 4:54 AM, Peer Brink

Getting users timezone-offset (javascript)

2008-08-05 Thread Peer Brink
Hello, I need to know the users/browsers timezone-offset on the server. The offset can easily be retrieved by some javascript on the client: var offset = new Date().getTimezoneOffset(); But how can it be transmitted from the client to the server? I read through quite some pages about javascript