title: Date string to new Date() javascript
body: <p>Is it possible to do something like this:</p>
  
  <pre><code>var parsedDate = new Date("20120830", "yyyyMMdd");
  </code></pre>
  
  <p>I need to convert the date string which is 20120830 in format yyyyMMdd into "30/08/2012"</p>