Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Changing the TimeZone of a date

807591Apr 3 2008 — edited Apr 8 2008
Hi,

I am getting the date from the database as type java.util.Date, therefore it takes the timezone of my machine
i.e. EST, now if I want to change its timezone to GMT, not of the display but the date itself, does anybody have a solution for this?

Thanks in advance,
rshah82
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 6 2008
Added on Apr 3 2008
12 comments
447 views