title: Format date with SimpleDateFormat Java
body: <p>I have a date string as </p>
  
  <pre><code>"Wed Jul 01 08:16:13 PDT 2015"
  </code></pre>
  
  <p>I am trying to parse it with this SimpleDateFormat</p>
  
  <pre><code>SimpleDateFormat valueDateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
  </code></pre>
  
  <p>this way:</p>
  
  <pre><code>Date parsedDate1 = valueDateFormat.parse("Wed Jul 01 08:16:13 PDT 2015");
  </code></pre>
  
  <p>It is giving me parse error as:</p>
  
  <pre><code>java.text.ParseException: Unparseable date: "Wed Jul 01 08:16:13 PDT 2015" (at offset 0)
  </code></pre>
  
  <p>How can I get a date in above simple date format from the string</p>