I am creating a web application. In that I have created a table which stores the name of a City and its Time variation from GMT in seconds e.g. 2000 or -5000. Now I am finding it difficult in the
Java API about GMT. Can anyone please tell me how can I convert this value into Current Time for that City.
SimpleDateFormat class have something written about GMT but I am confused...
If this is not possible than please tell me any alternate ways of calculating current time of a place. I can't use Locales as the information about cities will be added by Administrator of the site who will enter the local city time by himself....
Any help would be very appreciated...
Thanks
Ankit