It works on my server because my server is setup to use America/Los_Angeles timezone.
niko, can you do me a favor and put this in the top of the script, then try it and let me know:
// Set the timezone for your location, because some servers are in different timezone than your location
$myTZ = "America/Los_Angeles"; //NOTE: this *MUST* be set correctly
// translate UTC times to your LOCAL time for the displays.
putenv("TZ=$myTZ");
If it works I will edit my post and add it in. Thanks