Possible Duplicate:
How to get the current date and time of your timezone in Java?
I have developed a Attendance System and in use for India. Our servers are in US and since they are using PDT. My code reflects time one hour ahead.
say its 9:00 am IST ---- I get the time as 10:00 am IST
other than detecting one hour from the time, which will be a temporary solution.
Pls suggest me some way to overcome this situation