datepicker setmindate code example
Example: set datetimepicker javascript
// when start datetimepicker change -> will effect end datetimepicker change too
$('#membership_start').on('dp.change', function(e){
$('#membership_end').data("DateTimePicker").date(e.date);
});