Receiving "date.timezone setting" or the "date_default_timezone_set()" function errors

If you started receiving errors all over your WordPress Install that read something like the following:

"Warning: strtotime() [function.strtotime]: 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 used any of those methods
and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New York'
for 'EST/-5.0/DST' instead in /path/to/my/www/wp-includes/functions.php on line ##"

"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 used any of those
methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected
'America/New York' for 'EST/-5.0/DST' instead in /path/to/my/www/wp-includes/functions.php on line ##"ÂÂÂ

NOTE: The location/timezone 'America/New York'  may vary. Here is a list of timezones from PHP

The good news is the fix is easyer then the reading... Simply place the following line in a php.ini fileÂÂÂ

date.timezone = 'America/New_York'   

NOTE: Again your timezone may varyÂÂÂ

ÂÂÂ

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Manage Pages in WordPress

The purpose of this tutorial is to teach you how to manage pages in WordPress. You will need...

How to Write a Comment in WordPress

This tutorial will teach you how to write a comment in WordPress. Log in to your WordPress...

How to Write a New Post in WordPress

The purpose of this tutorial is to teach you how to write a new post in WordPress. You need...

How to Edit Your Profile in WordPress

This tutorial will teach you how to edit your profile in WordPress. You should be logged in,...

How to change your Password in WordPress

The purpose of this tutorial is to teach you how to change your password in WordPress. You...