title: Boostrap datepicker: How to set date and format
body: <p>I'm using bootstrap datepicker. I'm trying to set the date with format at the same time. How do I that?</p>
  
  <pre><code>&lt;input type="text" class="datepicker form-control" name="StartDate"&gt;
  
  $('.datepicker').datepicker({
    format: "yyyy-mm-dd",
    setDate: DateValue
  });
  </code></pre>
  
  <p>I was reading their docs but I can't find any example.</p>