Possible Duplicate:
Java string to date conversion
I want to convert String into Date format..How to do it? Normal way i can do it like for "dd-MM-yyyy".. But i want to convert following Strings
String sdate= "Jun 7, 2012 5:40:00 PM "; String edate ="Jun 28, 2012 5:40:00 PM ";
How to do it? Please help!