File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Locale Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Locale" Watch "Locale" New topic


Saurabh Agrawal
Ranch Hand

Joined: Oct 07, 2003
Posts: 244
Hello folks,
Can anyone tell me how can i get to know a person's time zone from his request.Actually you will suggest through Locale but locale is browser specific.A person can always be in US and change his browser locale to india and i would come to know he is in india and would show him information based on indian standards.
I am supposed to show time to every person as per his time zone.So is there any way that i can actually know where or in which country he is so that i can manipulate GMT time and show him his zone specific time.
Any piece od code for that ?

Hope to get some response in this regard,

Success is not doing extraordinary things but doing ordinary things extraordinarily well.
I agree. Here's the link:
subject: Locale
jQuery in Action, 3rd edition