how to get bootstrap date picker format as 03-june-2017

Viewed 599

here is my java script,where i want date as 03-june-2017 i am not able to do it please give me solution.

<div class="form-group" >
            <div class='input-group date'  >
                <input type='text' class="form-control" id='datetimepicker1' />
                <span class="input-group-addon">
                    <span class="glyphicon glyphicon-calendar"></span>
                </span>
            </div>
        </div>
<script>
$(document).ready(function(){
$('#datetimepicker1').datepicker();
 format:
 });
  </script>

how to use format ?.i searched it but i did not get solution, can any one give me solution.

3 Answers
Related