On Tue, Oct 16, 2012 at 12:42 PM, Enrico Lamperti <zim@xxxxxxxxxxxx> wrote: > You could try using > date_default_timezone_set< > http://php.net/manual/en/function.date-default-timezone-set.php>() > in your script, instead. > > And if you don't need to care about DST, you can define a specific GMT > offset <http://www.php.net/manual/en/timezones.others.php>. > > Hope it helps :) > > Hi Enrico, Thanks for the suggestion. Unfortunately the problem seems to be that PHP thinks the America/Los_Angeles timezone is the same as EDT. I'm not sure how to approach this issue. Richard > On Tue, Oct 16, 2012 at 3:56 PM, Richard S. Crawford < > rscrawford@xxxxxxxxxxxx> wrote: > > > I double checked the server time. It is set to "America/Los_Angeles" as > > well. > > > > > > On Tue, Oct 16, 2012 at 11:07 AM, Adam Richardson <simpleshot@xxxxxxxxx > > >wrote: > > > > > On Tue, Oct 16, 2012 at 2:02 PM, Richard S. Crawford > > > <richard@xxxxxxxxxxxxx> wrote: > > > > The value of date.timezone in php.ini is set to > "America/Los_Angeles".. > > > > > > > > The local time is 11:02 a.m. Yet the output of date("h:i a e") is: > > > > > > > > 02:02 pm America/Los_Angeles > > > > > > > > which is three hours ahead of the real time. > > > > > > > > Why is this? What's going on? > > > > > > The server's time could be wrong. Or, code somewhere could be > > > (re)setting the timezone. > > > > > > Adam > > > > > > -- > > > Nephtali: A simple, flexible, fast, and security-focused PHP framework > > > http://nephtaliproject.com > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > -- > > Sláinte, > > Richard S. Crawford (richard@xxxxxxxxxxxxx) > > http://www.underpope.com > > Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com > ) > > > > > > -- > Enrico > -- Sláinte, Richard S. Crawford (richard@xxxxxxxxxxxxx) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)