title: How to change Date format (dd-mmm-yyyy) in bootstrap datepicker
body: <p><strong>Script</strong></p>
  
  
  
  <pre class="lang-html prettyprint-override"><code>&lt;script&gt;
    $(function () {
      $(".datepicker").datepicker();
    });
  &lt;/script&gt;
  </code></pre>
  
  <p><strong>Textbox</strong></p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;input class="datepicker" id="_Date" name="Date" type="text" value="01-Jan-2017"&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/MACRm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MACRm.jpg" alt="enter image description here"></a></p>
  
  <p>When I select date form textbox then the format looks like <strong>10/11/2017</strong> but I need the format like <strong>11-Oct-2017</strong></p>