title: Changing Date Time Format using jquery/javascript
body: <p>I am trying to change the below date format but iam only able to get date.</p>
  
  <p>Thu May 29 2014 00:00:00 GMT-0400 (Eastern Standard Time)</p>
  
  <p>I am using below code but its only giving me date</p>
  
  <p><code>_Date= "Thu May 29 2014 13:50:00 GMT-0400 (Eastern Standard Time)"; 
   _oDt = new Date(_Date);
  _DateStr= $.datepicker.formatDate('mm/dd/yy', _oDt);
  </code></p>
  
  <p>output : 05/29/2014</p>
  
  <p>expected output - 05/29/2014 01:50 P.M</p>
  
  <p>I am not able to get the time and the P.M and A.M respectively. Please help.</p>