title: Set date picker to a given date
body: <p>Is there a way to set a datepicker to a given date? </p>
  
  <p>I have tried this:</p>
  
  <pre><code>&lt;input type="date" name="dob" value="&lt;?php echo date('yyyy-mm-dd', escape($user-&gt;data()-&gt;dob)); ?&gt;"/&gt;
  </code></pre>
  
  <p>but it doesn't work.</p>
  
  <p>I just want to know if it is possible, but it can't just be set to 'now'. The only help I can see online is string manipulation, but not actually setting the datepicker.</p>