I tried to use datepicker for a form on my website from a following link. I want to disable previous dates and only allow user to select date from current date and onward. http://eternicode.github.io/bootstrap-datepicker/?markup=input&format=&weekStart=&startDate=&endDate=&startView=0&minViewMode=0&todayBtn=false&clearBtn=false&language=en&orientation=auto&multidate=&multidateSeparator=&keyboardNavigation=on&forceParse=on#sandbox
$(document).ready(function () {
$('#sandbox-container input').datepicker({
format: "dd/mm/yyyy",
clearBtn: true,
minDate: 0,
maxDate: "+1M +10D",
daysOfWeekDisabled: "0,6"
});
});
I add following code minDate: 0,maxDate: "+1M +10D"
to achieve this, but its not working. Also I need to add time in this datepicker if it is possible.