Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux GMT

Status
Not open for further replies.

shekinskiy

Programmer
Nov 14, 2005
11
TR
hi everybody,

i dont know, maybe i should write this message in a forum about Linux.

i have developed an application on Windows. and while i start to run following code it lists me a number of timezones including Etc/GMT-1, Etc/GMT-2, ..., Etc/GMT+1 in Windows, whereas it doesn't list timezones, start with Etc, in Linux.

Code:
String  timezone[] = TimeZone.getAvailableIDs();

i need Etc/GMT-4 timezone. any equivalence in Linux? i can't use timezone whose names include country or city name, besouse they change in winter/summer and i don't want to use daylight.

thanks for any help
 
custom timezone can be defined in GMT+HH:mm or GMT-HH:mm format.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top