MIT SIPB Script Services for Athena

I'm seeing: "It is not safe to rely on the system's timezone settings."

If you are getting the PHP warning:

Warning: 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 ‘EDT/-4.0/DST’ instead in /afs/… on line 0

You can resolve it by editing or creating a php.ini file in the same directory as the PHP script emitting this error and adding the line:

date.timezone = America/New_York
© 2004-2013, the SIPB project.
These pages may be reused under either the GFDL 1.2 or CC-BY-SA 3.0.
Questions? Contact

You are currently connected to