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