Hi all i used the Jquery Date picker
which works well enough for me. But i am having a small issue i.e i would like to set the Start year
from 19
try this:
datepick({yearRange: '1900:' + new Date().getFullYear()});
This is what you need:
datepick({yearRange: "1900:+nn"});
Will set the range from the 1900 to the current year.
$("#textBox").datepicker({
changeMonth: true, changeYear: true, yearRange: '1900:+0'
});
you can set specific year of difference from current year
$( "#datepicker" ).datepicker({
changeYear: true,
minDate: '-116Y',
maxDate: '1Y',
yearRange: '-116',
});
$("#date").datepicker({ changeYear:true, yearRange: "1900:1999" });
You can use the following.
$("#datepicker").datepicker({
changeMonth: true, // this will help you to change month as you like
changeYear: true, // this will help you to change years as you like
yearRange: "1900:9999"
});