Fixing Warning: date() [function.date] in PHP 5.3 [solved]

Posted on: Sunday, 2011.10.02 by J.D. H. in in computer tips, Weblogs.us, Work,

If you recently upgraded to a newer version of PHP, like PHP 5.3, you may be getting some errors similar to this in your PHP scripts: Warning: date() [function.date]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you [...]

Tagged with:  
63 queries in 0.353 seconds.