I am using this below :
in Cab request Tool,In which Time control(Bootstarp Time picker) not allowing user to book time 2 hours before from current time.
$(function () {
$('#pickTime').datetimepicker({
ignoreReadonly: true,
format: 'LT'
});
});
I want that if user if entering time then he is not able to select till 2 hours before current time.
That is he can select pick Time before 2 hours only from current time.Because Cab Team needs 2 hours to booking process.
Example current time is 10:24am then user enable time is till 8:24 ,
Shiv Sharma