It seems that I have upgraded php. Is there a way to set the default timezone in one file instead of editing all the places it gives the error?
http://docs.php.net/manual/en/function.date-default-timezone-set.php
Note: Since PHP 5.1.0 (when the date/time functions were rewritten), every call to a date/time function will generate a E_NOTICE if the timezone isn't valid, and/or a E_STRICT message if using the system settings or the TZ environment variable.
http://docs.php.net/date
Errors/Exceptions
Every call to a date/time function will generate a E_NOTICE if the time zone is not valid, and/or a E_STRICT message if using the system settings or the TZ environment variable. See also date_default_timezone_set() |