Skip to Main Content

New to Java

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 remove GMT from calendar object in display

807601Dec 17 2007 — edited Dec 17 2007
Hello all,

I am using Calendar data type to store the date in arraylist. I am getting problem as the time zone offset GMT is automatically appending with the date and time.

How can I remove that from the display.

This is how it is coming.

<FdDate>2007-07-15*+05:30*</FdDate>

I want to be like

<FdDate>2007-07-15</FdDate>

Thank You in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2008
Added on Dec 17 2007
1 comment
469 views