The moose likes Java in General and the fly likes Converting String to date Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Converting String to date "March 4, 2003"" Watch "Converting String to date "March 4, 2003"" New topic
Author

Converting String to date "March 4, 2003"

Garandi Garandi
Ranch Hand

Joined: Jan 07, 2003
Posts: 192
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

Joined: May 05, 2000
Posts: 13974
Use: SimpleDateFormat.parse()


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
 
subject: Converting String to date "March 4, 2003"
 
Threads others viewed
Date format in Sun voucher.
Adding a day to a java.util.date
is it possible to extend the exam date?
Convert String to Date
how to use date in java
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture