title: Javascript get and format current date
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1056728/formatting-a-date-in-javascript">Formatting a date in JavaScript</a>  </p>
  </blockquote>
  
  
  
  <p>I need to show a <strong>current date</strong> in format like this (some examples):</p>
  
  <pre><code>sep 10, 2012
  nov 5, 2012
  </code></pre>
  
  <p>and so on.</p>
  
  <p>Using <code>javascript</code> I get a current date object</p>
  
  <pre><code>var date  = new Date();
  </code></pre>
  
  <p>what I need to do next?</p>