datepicket moment() code example
Example 1: moment datepicker
$('.datepicker').datepicker()
Example 2: moment datepicker
$('#dp5').datepicker() .on('changeDate', function(ev){ if (ev.date.valueOf() < startDate.valueOf()){ //.... }});