Community Support for OpenDocMan (Deprecated)

Full Version: Time Zone issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
arador68
2007-11-02 13:49:15 PDT
Whenever I check document expiration, this comes up:

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /apps/sun/webserver7/https-Coyote/docs/opendocman/check_exp.php on line 43

How do I fix this?

I am running on Solaris 10, php 5, iplanet 7


arador68
2007-11-03 22:30:07 PDT
Nevermind, added the variable "date_default_timezone_set('America/Chicago');" to my config.php and it works fine now.