Skip to main content

time zone problem

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
enigma_hr
Offline
Joined: 2011-07-14

hi everybody

i have a very big problem with java jdk, i have to jdk on my system (jdk1.5 and jdk1.6) when i write new date result on console with jdk1.5 it print my system date and it shows the GMT 2011 and it mean there is no GMT for this jdk but when i run my code with my other jdk it print my exact system date and it has GMT +8:00 and its my system exact date,how can i fix it?

and where is the problem?