File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes Date conversion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
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 ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
subject: Date conversion
Similar Threads
How to get next date of a given date
first date and last date of month
WA #1.....word association
Date question
Question on Creation of a Date Object