</h3>
   <div class="bs-docs-example">
      <input type="text" id="dp2" data-date-format="mm/dd/yy" value="02/16/12" class="span2 datepicker" data-provide="datepicker">
   </div>
<pre class="prettyprint linenums">
&lt;input type="text" id="dp2" data-date-format="mm/dd/yy" value="02-16-2012" class="span2 datepicker" data-provide="datepicker"&gt;
</pre>

   <h3>As component</h3>
   <div class="bs-docs-example">
      <div data-date-format="dd-mm-yyyy" data-date="12-02-2012" id="dp3" class="input-append date"