Re: date_default_timezone_set and Time Zones

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

 



Waynn Lue wrote:

> I'm using date_default_timezone_set("America/Los_Angeles") in my code,
> then I output it like
> 
> date("m/d/y, H:i:s, O", <some unix timestamp>);
> 
> But even though it's daylight savings time in Los Angeles, I get
> output like
> 
> [01/31/08, 23:00:00, -0800]
> 
> Shouldn't it instead be -0700?  Am I misunderstanding how these
> timezones work?


Is it daylight savings time in LA on 31 January? 


/Per Jessen, Zürich


--
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