If you have been in force.com and salesforce development then probably you might encountered a problem where you have face a challenge that you could not able to pick the date beyond certain limit , today developing a visualforce page i could not able to pick a date from the date field beyond a certain limit example(2 years back) that is something not that much flexible for the people who want to select his or her birth date need then to enter there birth date they have to enter the value manually instead of picking the value from the date picker, you can see the below picture that salesforce data picker show limited values in date field.
Date pick limitation in salesforce
Solution to extend date pick range
See below java script and most important check 4rth and 5th line to customize the script.
Copy above script and paste it in your visualforce page below apex:page tag and then save your visualforce page ,see below image now how your visualforce page would going to be look like
This is the just a small script i hope your problem is now get solved if you have any problem in using do tell me i will loved to help you and also don’t forget to subscribe to my blog and my social networking pages.