country « TimeZone « Java Data Type Q&A

1. How to get country name for a particluar TimeZone object??

Hi I need to develope a website which shows the client time and the client timezone. I get the Locale of client and time zone offset from javascript but I am not able to obtain exact time zone of client as an offset has multiple time zones. Please help me on this.

2. timezones for a country

Sure you can. You list out all of the possible time zones (there are several hundred of them if I recall right). Then for each of them you write down which countries they apply to. Then you set up some kind of table which encapsulates that information, and have your function access that table. What I meant was why you needed ...