This topic is locked

Date Range Too Small

2/9/2007 3:25:04 AM
ASPRunnerPro General questions
BeachyLife author

How do I change the date range of the year field in the calendar drop down? Currently it shows 10 years + - the current year (ie. 1997 to 2017) I need this for a birthdate field. Would like it to range from 1907 to 1917 just like the datepicker does.

J
Jane 2/9/2007

Hi,
to change year radius open include/commonfunctions.asp file, find WriteYears function and change the following line:

firstyear=year(now)-10