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 Users in WordPress

This tutorial will teach you how to manage users in your WordPress program. You will need to...

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 Manage Categories in WordPress

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

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 Manage Your Plugins in WordPress

This tutorial will teach you how to manage your plugins in WordPress. First you need to log...