Here's a blog post that explains how to get a user's local timezone in web2py <http://osman.am/wordpress/?p=24>. It uses some JS on the front-end, and requires the jQuery cookie <https://github.com/carhartl/jquery-cookie>plugin. Thanks
On Thursday, October 6, 2011 12:46:45 PM UTC-7, TheSweetlink wrote: > > For those interested in timezones and your international site I found > a nice js script after much hunting to detect utc timezone offset, > whether or not it is DST, and the hemisphere of the client. > > https://bitbucket.org/pellepim/jstimezonedetect > > Another plus: "Provided under the Do Whatever You Want With This Code > License." > > Enjoy. > > -David > > On Oct 5, 10:20 am, Farsheed Ashouri <[email protected]> > wrote: > > Thank you Massimo, You solution is very good. I am using a javascript > code > > that detects timezone and other things, but i should change it to your > way > > for sure. Although this script does the job for me but it's more > > complicated. > > > > detect_timezone.js > > 13KViewDownload --

