You might like the following: the values ββgiven here are for illustration only, you need to use the values ββbased on your requirements.
$(function () { $("#datepicker").datepicker({ changeMonth: true, changeYear: true, dateFormat: "yy-mm-dd", yearRange: '1934:2004', defaultDate: '1980-01-01' }); });
source share