 |
php.ini default timezone vs. date.timezone - Stack Overflow
date() relies on the date.timezone INI setting. Since one is Chicago (CT) and the other is UTC, that is your 5 hour difference. I believe as of PHP > 5.2 you should receive: PHP Warning: Unknown: It is not safe to rely on the system's timezone settings. Y
stackoverflow.com |
 |