Hi, In the database the date is stored as a string in the following format i.e 23rd Nov 2009. How do I convert this into date object
Printable View
Hi, In the database the date is stored as a string in the following format i.e 23rd Nov 2009. How do I convert this into date object
SimpleDateFormat See the API docs.
Use Date and SimpleDateFormat.
This might be helpful http://www.java-forums.org/new-java/...ateformat.html
would it take care of rd in 23rd or th in 16th?
Have you even looked at the API docs yet?