php timezone code warning
Posted: Thu Nov 19, 2009 9:40 pm
This is the error I am receiving:
PHP Warning: date_default_timezone_get(): 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 /srv/www/htdocs/weblog/include/compat.inc.php on line 322, referer: xxxxx.xxx/weblog/serendipity_admin.php
Could someone please shed a bit of light on this warning for me.
PHP Warning: date_default_timezone_get(): 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 /srv/www/htdocs/weblog/include/compat.inc.php on line 322, referer: xxxxx.xxx/weblog/serendipity_admin.php
Could someone please shed a bit of light on this warning for me.