title: Bind Datepicker with the calculated date
body: <p>I have a datepicker. It should allow me to set date to calculated date.</p>
  
  <p>Calculated date is of the form</p>
  
  <p><code>myNewDate = new Date(year, month, day, hours, minutes, seconds, milliseconds);</code></p>
  
  <p>ex: Sat Oct 11 2014 20:45:41 GMT+0100 (GMT Daylight Time)</p>
  
  <p>However, I am not able to bind this date to the datepicker.</p>
  
  <p><code>$(".myTestbox").datepicker('setDate', myNewDate);</code></p>
  
  <p>Any input on this will be helpful</p>