To disable the past time, you should use minDateTime
. Update your code like this,
$(document).ready(function(){
$('.date-future').datetimepicker({
minDate:0,
step:15,
minDateTime: new Date(),
maxDate:false,
closeOnDateSelect: false,
closeOnTimeSelect: true,
formatTime:"h:i A",
format:'Y-m-d H:i'
});
});
0 Comments