title: Unparseable date at offset 12
body: <pre><code>SimpleDateFormat df1 =new SimpleDateFormat("MM/dd/yyyy HH:mm:ss");
  String CurrentDate = df1.format(c.getTime());
  
  try {
      Date date = df1.parse(CurrentDate);
       System.out.println( date );
  } catch (ParseException e) {
        e.printStackTrace();
  }
  </code></pre>
  
  <p>Note: I want to parse String date into Date Datatype but i got Unparseable date exception on 4th line. i already tried many other options but didnt get any output. Many Experts tell me to do like this. but i got error. help me to get out of this problem.</p>