title: How to change date format from dd/mm/yyyy to default format through Javascript
body: <p>In my Database i am having date in "dd/mm/yyyy" format. In the sucess function I am getting like '29/06/2006". I want to convert this form "dd/mm/yyyy" format to default format (default format means "Thu Jun 29 2006 00:00:00 GMT+0530 (India Standard Time)")</p>
  
  <p>I tried the following ways</p>
  
  <p>1) way</p>
  
  <pre><code>xx = 29/06/2006 
  new Date(xx)
  </code></pre>
  
  <p>2)way</p>
  
  <pre><code>dateFormat(xx, "ddd, mmmm dS, yyyy, h:MM:ss TT")
  </code></pre>
  
  <p>Both giving wrong date,month,year. Result as (Tue, May 6th, 2008, 12:00:00 AM)</p>
  
  <p>I am giving input as Jun 29 2006 but after conversion it'a showing May 6th, 2008.</p>