引用

<link href="http://cdn.bootcss.com/bootstrap-datepicker/1.3.1/css/datepicker3.min.css" rel="stylesheet">
<script src="http://cdn.bootcss.com/bootstrap-datepicker/1.3.1/js/bootstrap-datepicker.min.js"></script>

js初始化

$('.date_picker').datepicker({
    format: 'yyyy-mm-dd',
    autoclose: true
});

HTML调用

<input type="text" value="" class="date_picker">