title: Ajax get Date in dd/mm/yyyy format
body: <pre><code>var d = new Date();
      var today_date = d.getDate() + '/' + month_name[d.getMonth()] + '/' + d.getFullYear();
  </code></pre>
  
  <p>This is how I am getting a date. It works with a slight problem. For todays date 7th of June 2011 it returns 7/11/2011,  what i want it to return is 07/11/2011?</p>
  
  <p>Anyone know how?</p>