title: convert string into date format in java
body: <p>I want to convert this string to the following date format.</p>
  
  <pre><code>  String s = "2-26-2013";
    Date date = new SimpleDateFormat("EEEE, MMMM/dd/yyyy").parse(s);
    System.out.println(date);
  </code></pre>
  
  <p>I'm getting this error:</p>
  
  <pre><code>Exception in thread "main" java.text.ParseException: Unparseable date: "2-26-2013"
      at java.text.DateFormat.parse(DateFormat.java:357)
  </code></pre>