04-14-2010 10:21 PM
I'm doing some small project and need to get user's settings, particularly Date/Time (Options - Date/Time). I need to get the information on the selected Time Zone (GMT) and Time Format.
How can I do this?
Solved! Go to Solution.
04-14-2010 11:39 PM - edited 04-14-2010 11:39 PM
Get an instance of the calendar and call Calendar.getTimeZone(). This is covered in the javadocs.
See TimeZone and Calendar.
Also see DateFormat.formatLocal()