Hi all,
I am able to extract the timezone from the sytem when the system has the operating system WINDOWS XP, the timezone contains places with time but i am not able to get the timezone that will contain places with time when the system has WINDOWS 2000.
suppose i have set my system to Windows XP and I have set my system timezone to [(GMT+01:00)Amsterdam,Berlin] and by using the code i am getting the
string as "Europe/Berlin". But if i set my system to Windows 2000 and set my system timezone to [(GMT+01:00)Amsterdam,Berlin] and by using the code i am getting only [(GMT+01:00)] but i need the place .
Please send me the code to obtain the places in WINDOWS 2000.
I am sending my code below:
TimeZone str=cal.getTimeZone();
localZonFromSyst=str.getID();
System.out.println(" the place is :" localZonFromSyst);
With Regards
Yathish