>
> 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. :)
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?
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
3 matches
Mail list logo