Re: date/time in wrong zone
| From: | Duke | Date: | Mon, 09 Apr 2001 04:03:27 +0000 |
| Subject: | Re: date/time in wrong zone | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-47712@lists.php.net to get a copy of this message | ||
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.
-----Original Message-----
From: Duke <kidlinux@rocketbox.dhs.org>
To: php-general@lists.php.net <php-general@lists.php.net>
Date: April 9, 2001 12:00 AM
Subject: [PHP] date/time in wrong zone
>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.
>Any suggestions?
>Thanks.
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>