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 convert oracle timestamp to java timestamp

807606Mar 11 2007 — edited Mar 11 2007
Hi,

I need to convert oracle timestamp that i got from oracle database to java timestamp.I tried to use getTimestamp() to get timestamp value from oracle, but am getting NumberFormatException.
Could any of suggest how to convert oracle timestamp to java timestamp.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 8 2007
Added on Mar 11 2007
9 comments
16,663 views