How to change Bootstrap Datepicker with specific date format?

By Hardik Savani | May 6, 2016 | | 48160 Viewer | Category : Bootstrap

Bootstrap is a very popular html css framework. Bootstrap through we can make batter responsive design. If you need datepicker with your date format like yyyy-mm-dd, yyyy/mm/dd, dd/mm/yyyy, dd-mm-yyyy etc then you can do it easily. so if you want to set date format then you have to just add one argument format and add format as you want like bellow example:


<html lang="en">


<title>Bootstrap Datepicker with format Example</title>

<link href="" rel="stylesheet">

<link href="" rel="stylesheet">

<script src=""></script>

<script src=""></script>

<script src=""></script>



<input class="date form-control" style="width: 300px;" type="text">

<script type="text/javascript">


format: 'yyyy-mm-dd'





***Do you want me hire for your Project Work? Then Contact US.