Possible Duplicate:
how to convert java string to Date object
I have a form in which I insert a time in the form of : 10:19 as a String. How can I convert this to the corresponding Time object?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to parse the string into a Date object. You could use SimpleDateFormat.