Have String str \"May 23 2011 12:20:00\", want to convert it to date such this:
Date date = (new SimpleDateFormat(\"MMM dd yyyy HH:mm:ss\")).parse(str);
Probably It's a problem with a tool you use. Take a look at:
Why am I getting a ParseException when using SimpleDateFormat to format a date and then parse it?