title: Javascript change date into format of (dd/mm/yyyy)
body: <p>How can I convert the following date format below (Mon Nov 19 13:29:40 2012)</p>
  
  <p>into:</p>
  
  <p>dd/mm/yyyy</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
      &lt;script type="text/javascript"&gt;
        function test(){
           var d = Date()
           alert(d)
        }
      &lt;/script&gt;
      &lt;/head&gt;
  
  &lt;body&gt;
      &lt;input onclick="test()" type="button" value="test" name="test"&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>