aspose file tools*
The moose likes Beginning Java and the fly likes converting a number to its date equivalent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "converting a number to its date equivalent" Watch "converting a number to its date equivalent" New topic
Author

converting a number to its date equivalent

Mohit Sinha
Ranch Hand

Joined: Nov 29, 2004
Posts: 125
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

Joined: Jan 10, 2002
Posts: 61420
    
  67

Did you check out java.text.DateFormat?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: converting a number to its date equivalent