• Post Reply Bookmark Topic Watch Topic
  • New Topic

converting a number to its date equivalent  RSS feed

 
Mohit Sinha
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am looking for the right way to convert a date which we receive in a number format(YYYYMMDD - 20010530) into a java date object equivalent.

Do post your thoughts.

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66306
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you check out java.text.DateFormat?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!