If you are using the popular phplist mailing list configuration software, you might run into a situation where the birth date lists only 10 years – all of which are on or around the current year. How do you fix this to allow your subscribers to view a greater range of dates?
The secret lies in the /config/config.php file that lies in your phplist install. Open up the file, and look for two lines that look like this:
define('DATE_START_YEAR',0);
define('DATE_END_YEAR',0);
As you can see from the comments above, the zero value in the fields sets the start and end years to the 10-year limit around the current year.
I changed it to:
define('DATE_START_YEAR',1920);
define('DATE_END_YEAR',2020);
for my install, and the phplist shows the 100-year span now.
0 Responses to “Fixing Birth Date in phplist”