This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
 
Have you checked out Aspose?
 
subject: Quick Q: converting String to java.sql.Date
 
It's not a secret anymore!