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!

How to get time zone as IST instead of GMT+05:30

807589Mar 13 2008 — edited Aug 24 2008
hi,

TimeZone.getDefault().getDisplayName(false, TimeZone.SHORT); is always returning GMT+05:30. What I need to do if I want to get it as IST?

I am using jdk1.5.0_11.

Can any one help me in getting the right one.

Thanks.
Kiran Rredy A
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 21 2008
Added on Mar 13 2008
10 comments
382 views