I have a bit of HTML that uses an include to echo the current year. It is working on all my pages (that I have checked), except one. The code I am using is
$date = getdate();
The error is:
Strict Standards: getdate() [function.getdate]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /footer.php on line 7
What I really do not understand is why, when I use an include and the code is identical, do I get the error on a single page?
Is there a setting I can make that will fix this problem?