i'm using a PHP enabled database that pulls the time from the server.
but the server keeps switching it's local time, which totally screws up everything.
I have my code set to PST:
$zone=3600*-8; //USA PST Time
$time = date("m-d-Y, g:i a", time() + $zone);
and it WAS working fine. but every couple of days the server seems to switch to some other time zone, messing up all my database queries, and when i change my code, couple days later, it switches back!
this is about the 3rd time this has happened.
i've already opened a ticket on this, but i wanted to see if anyone else was experiencing this problem.
you can see my time tests, and how they changed from the actual time to another time over a few days: (and remember i made no change to MY code)
http://www.riotpix.com/forum/read.php?forumid=12