Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] Jak ustawić date_default_timezone_set() tak jak time?()?
vir_e
post
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()(IMG:http://forum.php.pl/style_emoticons/default/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
 
Start new topic
Odpowiedzi
decha-design
post
Post #2





Grupa: Zarejestrowani
Postów: 415
Pomógł: 46
Dołączył: 26.05.2007
Skąd: Sandomierz

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


Europe/Berlin i masz ok ... sam z tej korzystam
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: 6.10.2025 - 02:50