> "If none of the above succeed, date_default_timezone_get() will return a > default timezone of UTC."
It will still raise a warning, by the way. This is horrible behavior; I recommend the following: date_default_timezone_set(ini_get('date.timezone') ?: 'UTC'); This is basically what date_default_timezone_get does as of PHP 5.4 except there is no warning. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php