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
$("#datetimepicker2").datepicker({ dateFormat: "mm/dd/yy", minDate: new Date() });