You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jacob Kjome <ho...@visi.com> on 2003/01/22 03:53:31 UTC
Re: code snipit request: how to get time zone from user's
browser.
Client locale's are sent by the browser. You could probably figure out
the timezone based on the locale, to a certain degree. However, you might
just have to ask the user to choose a timezone and then store that in the
session or as a permanent cookie.
Jake
At 05:19 PM 1/21/2003 -0500, you wrote:
>Does anyone know how to get the client's time zone? I did not see anything
>in the HttpServletRequest, nor do i really have clue what to search for on
>google.
>
>TIA
>
>-jason pyeron
>
>--
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>- -
>- Jason Pyeron http://www.pyerotechnics.com -
>- Owner & Lead Pyerotechnics Development, Inc. -
>- +1 410 808 6646 (c) 500 West University Parkway #1S -
>- +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 -
>- -
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>This message is for the designated recipient only and may contain
>privileged, proprietary, or otherwise private information. If you
>have received it in error, purge the message from your system and
>notify the sender immediately. Any other use of the email by you
>is prohibited.
>
>
>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>