I am developing a software in java.
I get a timestamp in GMT from a server.
The software can be used anywhere in the world.
Now I want to get the local time zone where the software is running and convert this GMT time to the local time.
Please tell me how to do this?
To get your local timezone :
Calendar.getInstance().getTimeZone().getDisplayName()
For the conversion:
Date TimeZone conversion in java?