Suddently getting a function date warning.

  • Answered
Suddently getting several of the following warnings on my site. Did a google search and MANY other sites have the same problem: Warning: date() []: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 'EST/-5.0/no DST' instead in /home/XXXXXX/public_html/include/Modules/Statistics/Attendance/Broker.php on line 91
Hello, Sorry to hear you are getting the PHP timezone error on your site. You can correct that by setting the timezone in your local php.ini file. If you are not sure which timezone to set, you can get help by looking at our timezone reference guide. Kindest Regards, Scott M