Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] Jak ustawić date_default_timezone_set() tak jak time?()?
vir_e
post 15.03.2009, 16:48:26
Post #1





Grupa: Zarejestrowani
Postów: 55
Pomógł: 1
Dołączył: 25.03.2008

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


Witam, jak ustawić (jaki dać parametr) funkcje date_default_timezone_set() żeby dała taki sam rezultat co by dał time()questionmark.gif

Jak używam time wypluwa mi bład...
  1. <?php
  2. [b]Strict Standards[/b]:  phpinfo() [[url="http://localhost/function.phpinfo"]function.phpinfo[/url]]:  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  '1.0/no DST instead in [b]D:_wwwinfo.php[/b] on line [b]1[/b]
  3. ?>
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Wersja Lo-Fi Aktualny czas: 19.06.2025 - 03:38