How to disable past dates from the current date on a datetimepicker? I tried few posts for similar question but was unable to achieve it, Below is what I tried
This will work:
var dateToday = new Date(); $(function () { $("#date").datepicker({ minDate: dateToday }); });