<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 2010-02-13, at 4:51 PM, Octavian Rasnita wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Don't know how to get the time zone of the user from browser, but I think it is not possible. You might need to get the visitor's IP and use a service that can tell you his/her country or even city, and maybe there is a module that can translate that into DateTime time_zone rformat...<br></div></blockquote></div><br><div>We did this using JavaScript. Just create a Date object and call&nbsp;<span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; ">getTimezoneOffset<span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">&nbsp;on it. We actually do that twice, one for a summer date and one for a winter date. Then we look at both offsets and use that to guess a location (rather than just the current time offset). I can send the code if needed.&nbsp;</span></span></div><div><br></div><div>The technique works pretty well, and gets the timezone pretty well.&nbsp;</div><div><br></div><div>All the best</div><div>Stuart</div><div><br></div></body></html>