• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Converting String to date "March 4, 2003"

 
Garandi Garandi
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a date String "March 4, 2003", I want to convert it to a java.util.Date and java.sql.Date.
How to do it.
Thank you
Garandi
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use: SimpleDateFormat.parse()
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic