title: Javascript date format without timezone
body: <p>I have a javascript variable which is defined from an input value.</p>
  
  <pre><code>$d = $('#date').val();
  $myDateParts = $d.split("-");
  $dflip = new Date($myDateParts[2], ($myDateParts[1]-1), $myDateParts[0]);
  console.log($dflip);
  
  $dflip = Wed Sep 19 00:00:00 UTC+0100 2012 
  </code></pre>
  
  <p>How can i format the output to just:</p>
  
  <pre><code>Wed Sep 19
  </code></pre>