Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Date Time conversion

 
gokul maha
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have date and time in below format.

DATE : 061206 (yymmdd)

TIME : 023101 (hhmmss)

How to convert it into 2006-12-06 02:31:01 ?

Is there way for it ?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic