Re: date() and wrong timezone (or time)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Brown schreef:
On Feb 7, 2008 8:34 AM, Jochem Maas <jochem@xxxxxxxxxxxxx> wrote:
Martin Marques schreef:
see what you have as the value for the date.timezone ini setting.
I've already checked that, and it's not set.
it should be set to something, so fix that.

    All other points being valid, Jochem, I disagree with this.  I've
never forced a setting on any of my PHP installations, and so far
(knock on wood) I've never had a problem.  I think PHP does a fine job
of reading the server time and zone.

most likely, personally I set it in code as required. I was reiterating what
the author of the new datetime stuff has repeated on a number of occasions,
namely that your application or php.ini file should be settingthe value to
something suitable explicitly.

how valid this actually is obviously open to question, besides date/time
issues will probably be one of those horrid things that will keep on biting
people in the *** no? calendars, timezones and everything related is just
too finickity :)



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux