Hello,
On 10/18/2004 02:23 AM, Justin French wrote:
I was hoping to do this with an educated guess based on user input like country, state and town, rather than by asking the user (who isn't too technically minded) to decide.
One easy way to do what you want is to use the Javascript Date object getTimeZoneOffset() function to fill in some form hidden field to pass the timezone offset to the server.
It relies on Javascript but it does exactly what you want.
--
Regards, Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php