jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases and the fly likes Date conversion 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 "Date conversion" Watch "Date conversion" New topic

Date conversion

shekar narayan

Joined: Mar 14, 2001
Posts: 3
Hi Guys!
can u tell me how to convert a date string to a date object so that i can run a query based on these date fields..
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
Look up the classes java.text.SimpleDateFormat and java.text.DateFormat in your Java API documentation. They are designed for the job of reading and writing dates in various formats.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link: http://aspose.com/file-tools
subject: Date conversion
It's not a secret anymore!