Error during Export - Warning: date() [function.date]: It is not safe to rely on the system's timezone settings.
When I try to export a table to EXCEL, I get this error message. I couldn't figure out why.
Warning: date() [function.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/Denver' for 'MST/-7.0/no DST' instead in /home/biotechn/public_html/isyDB/phpGrid_Lite/export.php(1) : e
You need put the timezone in php.ini.
; Defines the default timezone used by the date functions
You can also set the default time zone in your code without changing the php.ini
date.timezone = America/New_York- OR -