I am trying to parse a date string "2016-06-17 15:42:20" using DateFormat.parse()
and I am getting and Exception reported:
java.text.ParseException: Unparseable date: ""2016-06-17 15:42:20""
at java.text.DateFormat.parse(DateFormat.java:357)
What is wrong with this Date string? I am using the format yyyy-MM-dd HH:mm:ss
in my call.
Thanks for the help.