event handler bootstrap datepicker code example
Example 1: bootstrap datetimepicker onchange event
$('#Release').on('dp.change', function(e){
var formatedValue = e.date.format(e.date._f);
console.log(formatedValue);
})
Example 2: bootstrap datepicker on select event
$('.datepicker').datepicker()
.on(picker_event, function(e) {
// `e` here contains the extra attributes
});