This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes Quick Q: converting String to java.sql.Date Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Quick Q: converting String to java.sql.Date" Watch "Quick Q: converting String to java.sql.Date" New topic
Author

Quick Q: converting String to java.sql.Date

James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401
What's the best/easiest way to convert a string of this format - "20/07/2010 17:00" to a java.sql.Date?

Thanks,
James
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1318


Same topic discussed here on this thread .

hope it helps.


Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Quick Q: converting String to java.sql.Date
 
Similar Threads
assigning ResultSet.getDate()
java.sql.date to string
Inserting Date in database
How to use the Date object
util.Date to sql.Date