File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes date time conversion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "date time conversion" Watch "date time conversion" New topic

date time conversion

Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
I am trying to access a db2 database datetime column with the dateformat like "1,103,223,100,000".I want to display it in the format "month ay:year HH:MM:SS".Is there some way I can do this??.Please help me.

SCJP 1.4 (88%)<br />SCWCD 1.4 (88%)
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Yes. Read the JavaDocs for SimpleDateFormat.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: date time conversion
It's not a secret anymore!