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 change your Password in WordPress

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

How to Manage Categories in WordPress

This tutorial will help you learn how to manage your categories in the WordPress program. You...

How to Change Your Header in WordPress

This tutorial will teach you how to change your header in WordPress. You will need to be...

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 Edit Your Profile in WordPress

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