jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes converting date strings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "converting date strings" Watch "converting date strings" New topic

converting date strings

scottie zman
Ranch Hand

Joined: Aug 08, 2001
Posts: 40
I have some date fields in a database storing dates like this:
2001-09-12 12:43:18.483
How do I take this, a String, and manipulate the way it is displayed. I would like it to be:
09-12-2001 12:43
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695


Look at my entry on this thread.
[This message has been edited by Mike Curwen (edited September 18, 2001).]
I agree. Here's the link: http://aspose.com/file-tools
subject: converting date strings
It's not a secret anymore!