Re: [PHP] date_default_timezone_set and Time Zones

2008-10-03 Thread Waynn Lue
> > Is it daylight savings time in LA on 31 January? > Wow, yeah. That makes sense, for some reason I was thinking of it in terms of today, but of course that can't be right. Thanks for that clarification, not sure what I was thinking. :)

Re: [PHP] date_default_timezone_set and Time Zones

2008-10-03 Thread Per Jessen
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", ); > > 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?

[PHP] date_default_timezone_set and Time Zones

2008-10-02 Thread Waynn Lue
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", ); 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 timezo