How can I convert String to Date ?
Created May 4, 2012
John Zukowski Look at using the java.text.DateFormat class and its parse() method:
DateFormat dfInput = DateFormat.getDateInstance ( DateFormat.LONG, Locale.US); Date inputDate = dfInput.parse(dateString));Don't forget to catch a potential ParseException.