shadowayex Posted June 20, 2008 Share Posted June 20, 2008 I have error_reporting(E_ALL | E_STRICT); at the top of a page included in all pages. I get the following error:Strict Standards: 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 selected 'America/Chicago' for '-5.0/DST' instead in C:\Program Files\wamp\www\www.hugdontmug.com\PHP_Files\connect.php on line 25The problem is the hosting site I use doesn't allow me to use date_default_timezone_set() and I don't know how else to fix this. I'd like the default time zone to be GMT. Link to comment Share on other sites More sharing options...
jhecht Posted June 20, 2008 Share Posted June 20, 2008 UTC = GMT. Use utcdate, utctime, etc etc.Edit: I correct myself It's GMTime, GMDate, GMMkTime etc Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.