Community Support for OpenDocMan (Deprecated)
Time Zone issue - Printable Version

+- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com)
+-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html)
+--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html)
+--- Thread: Time Zone issue (/thread-72.html)



Time Zone issue - Stephen - 01-13-2010

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.