datetimepicker on change 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: datepicker on change
$("#datepicker").on("change",function(){
var selected = $(this).val();
alert(selected);
});