[nycphp-talk] New Daylight Savings Time in U.S. Coming Up Very Soon
Dan Cech
dcech at phpwerx.net
Tue Feb 27 11:53:28 EST 2007
Peter Sawczynec wrote:
> This is an excellent lucid recap. Thank you.
>
> So my take away is that PHP date() et al. is fairly adept at handling
> time zones as based upon a relatively uniform database of
> internationally-recognized time zone names, but that D.S.T. as a
> changeable entity is not handled. So it appears to me that at this time
> one must reach into one's code and put in a fix for the shortly upcoming
> new non-standard D.S.T. associated to the several time zones in the U.S.
> and that PHP is at this time not prepared to handle this change until it
> is added into the core functions at a later date and that such new
> D.S.T. update is not currently incorporated in an version of PHP 5.x
I must confess to not keeping up with the latest wranglings in php5.x,
but as far as I am aware php4.x draws its timezone information from the
operating system and my testing indicates that it is 100% correct on
both my windows XP machine and linux (debian stable) server.
Dan
More information about the talk
mailing list