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 <[EMAIL PROTECTED]> wrote: > 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, JSONObjects, Ajax, > etc. but I still don't see the solution. > > Sorry for this rookie-question. Any help is very much appreciated. > > Thanks, > Peer. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -- TheDailyTube.com. Sign up and get the best new videos on the internet delivered fresh to your inbox.