Re: date/time in wrong zone
| From: | Yasuo Ohgaki | Date: | Tue, 10 Apr 2001 00:46:40 +0000 |
| Subject: | Re: date/time in wrong zone | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2726@lists.php.net to get a copy of this message | ||
I think your locale is something wrong. For example, my RedHat7/J does not have
JST, but has Japan, for some reason. I had to copy Japan locale as JST to make
it work.
Locale is system dependent, this is my best guess.
Hope this helps.
--
Yasuo Ohgaki
""Duke"" <kidlinux@rocketbox.dhs.org> wrote in message
news:005b01c0c119$1460b840$0201a8c0@atomic.rocketbox.dhs.org...
> 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.
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>