aspose file tools*
The moose likes JDBC and the fly likes Quick Q: converting String to java.sql.Date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
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: 1321


Same topic discussed here on this thread .

hope it helps.


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Quick Q: converting String to java.sql.Date
 
Similar Threads
How to use the Date object
java.sql.date to string
assigning ResultSet.getDate()
Inserting Date in database
util.Date to sql.Date