Jan 9 / admin

Ugly fix for ‘strtotime() [function.strtotime]: It is not safe to rely on the system’s timezone settings’

Few month ago, while upgrading my blog,i have came across with this error message.
what i did is adding
date_default_timezone_set('UTC');
to the script (top) that cause error.

You can implement it to other script that generate same error message.

Leave a Comment

You must be logged in to post a comment.