paries
asked on
today.getTime() is 1 hour behind
Hello ,
I am having problems with today.getTime()
my code is simply:
java.util.Date today = new java.util.Date();
new Timestamp (today.getTime()) )
but the timestamp is 1hr behind. My system time is correct
Is this releated to the day light savings stuff?
i would think today.getTime() would get my system time
Thanks for any help
I am having problems with today.getTime()
my code is simply:
java.util.Date today = new java.util.Date();
new Timestamp (today.getTime()) )
but the timestamp is 1hr behind. My system time is correct
Is this releated to the day light savings stuff?
i would think today.getTime() would get my system time
Thanks for any help
This could be a daylight savings issue. If you are on a Microsoft OS, go to the site and run windows updates to make sure their fixes are installed.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.