This can be done with JavaScript: http://stackoverflow.com/questions/768007/how-to-detect-user-time-zone-in-sign-up-forms
This is basically what your link describes. It's not an issue with Java but with HTTP in general. This doesn't solve the case of a traveling user if they don't set their clock correctly. On Sat, Feb 6, 2010 at 8:22 AM, hsjawanda <[email protected]> wrote: > Hi, > > Any ideas on how to get the user's timezone (i.e., the timezone the > client is working in)? > > The closest I've come so far to an answer is: > > http://j2eecookbook.blogspot.com/2007/06/formatting-date-to-client-timezone.html > > Does anybody have a better way of accomplishing this? > > I'd prefer to avoid asking the client to set their timezone as a > preference because: > > * Sign-ups should be as fast as possible. > > * What if the client is temporarily working from a different timezone? > > Regards, > Harshdeep > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- Ikai Lan Developer Programs Engineer, Google App Engine http://googleappengine.blogspot.com | http://twitter.com/app_engine -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
