Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

converting date strings

 
scottie zman
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
thanks
Zman
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.javaranch.com/ubb/Forum33/HTML/003368.html

Look at my entry on this thread.
[This message has been edited by Mike Curwen (edited September 18, 2001).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic