datarangepicker select older date code example Example: jquery datepicker no past dates $("#datepicker").datepicker({ minDate: 0 });