cibin
01-08-2011, 19:05
Для начало использую Appserv.
При выполнении определённого действия в php выходит сообщение:
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 'Europe/Moscow' for '4.0/DST' instead in C:\AppServ\www\registratorkbr\addnapr.php on line 161
161 строка там: $data_t=date("Y-m-d");
Но при этом несмотря на возникающую ошибку нужную операцию он выполняет!
В чём может быть причина и как его решить?
При выполнении определённого действия в php выходит сообщение:
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 'Europe/Moscow' for '4.0/DST' instead in C:\AppServ\www\registratorkbr\addnapr.php on line 161
161 строка там: $data_t=date("Y-m-d");
Но при этом несмотря на возникающую ошибку нужную операцию он выполняет!
В чём может быть причина и как его решить?