date/time in wrong zone

From: Date: Mon, 09 Apr 2001 17:18:22 +0000
Subject: date/time in wrong zone
Groups: php.install 
Request: Send a blank email to php-install+get-2723@lists.php.net to get a copy of this message
I sent the following to php-general with no success. I'm wondering if it is a compile/install issue? I'm using php 4.0.4pl1on a FreeBSD system. When I use a php date/time function, it reports the time in GMT, however, I have the date on my FreeBSD system set to EDT. I can't figure out what the problem is here. The only thing I can think of is that when I compiled php, my system timezone was set to GMT and perhaps the local timezone is hardcoded into php. That doesn't make much sense though. I have changed my timezone to EDT since I compiled php. It may also be relevant that the "T" format string for the date() function also reports GMT, even though I've set my system timezone to EDT. The command "date" in FreeBSD also reports the time in EDT. Any suggestions? Thanks.

« previous php.install (#2723) next »