Witam, podczas gdy chcę wyświetlić datę przez echo date('d.m.Y') php wyświetl mi błąd
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/Paris' for '2.0/DST' instead in C:\Program Files\WebServ\httpd\php\ksiega.php on line 8 22.08.
Co zrobić aby poprawnie wyświetlić datę, bez zmniejszania rygoru obsługi ?
introw
date_default_timezone_set()
Wy wietlanie daty funkcj date
pyt
Q
odp
A
date_default_timezone_set()
Lemat wrote on -08-22 11:26:
lub ustaw date.timezone w php.ini (np. "Europe/Warsaw") tak jak masz napisane w cytowanym komunikacie
Pozdrawiam,