Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Date.timezone w php 5.3.3
lutador
post
Post #1





Grupa: Zarejestrowani
Postów: 183
Pomógł: 3
Dołączył: 5.03.2007
Skąd: Opole

Ostrzeżenie: (0%)
-----


Witam,

po instalacji php 5.3.3 gdy chce uzyc funkcji date wyskakuje warning. Ustawiłem w php.ini date.timezone = "Europe/Warsaw" trzeba cos jeszcze zdefiniowac, aby pozbyć sie tego ostrzezenia?
  1. Warning: date() [function.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 /
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.12.2025 - 09:38