Fix for PHP date() function error with certain versions of PHP.

See comments in script (line 16) for info on setting the time zone and
enabling the fix.