date problem

From: Date: Wed, 31 Oct 2001 02:12:20 +0000
Subject: date problem
Groups: php.general 
Request: Send a blank email to php-general+get-72957@lists.php.net to get a copy of this message
For reference: OS: OpenBSD 2.9 Web Server: Apache1.3.19 PHP Version: 4.0.6 My problem is that date() and all the other time functions return GMT instead of localtime. system("date") returns the correct localtime. Those functions used to return localtime since GMT. The problem seems to have started after daylight savings time changed. I hope someone has an idea of what's wrong and how to fix it. As for now, I'm adding time() - 3600 * 8 to all my scripts right now. Steve

« previous php.general (#72957) next »