Hi All,
I have one problem related to
java Timezone.
I am using Java 1.5.0_11.
TimeZone.getDefault().getID() is printing "GMT+05:30" in Windows Server 2003 operating system and if I use the same piece of code in Windows XP then its printing "Asia/Calcutta".
One more thing in Windows Server 2003 machine, if I am using Java 1.4 then the same code is printing "Asia/Calcutta".
I am doing some processing depending on the timezone ID returned by this API and since they are the different strings, rest of my program is giving wrong results.
In Windows Server 2003 machine also I am expecting it should return "Asia/Calcutta" while using Java 1.5.0_11. Let me know what is the possible solution. For different operating system is should return the same
string. Please help me I am running around this problem for more than one week