Article View: pl.comp.lang.php
Article #220264Wyświetlanie daty funkcją date
From: introw
Date: Sat, 22 Aug 2009 09:15
Date: Sat, 22 Aug 2009 09:15
16 lines
1494 bytes
1494 bytes
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.2009
Co zrobić aby poprawnie wyświetlić datę, bez zmniejszania rygoru obsługi błędu
i wstawiania @ ?
--
Wysłano z serwisu Usenet w portalu Gazeta.pl -> http://www.gazeta.pl/usenet/
Technical Details
Message-ID:
<h6ocvn$r61$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: " introw" <introw@WYTNIJ.gazeta.pl> Newsgroups: pl.comp.lang.php Subject: Wyświetlanie daty funkcją date Date: Sat, 22 Aug 2009 09:15:36 +0000 (UTC) Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 16 Message-ID: <h6ocvn$r61$1@inews.gazeta.pl> NNTP-Posting-Host: localhost X-Trace: inews.gazeta.pl 1250932536 27841 172.20.26.238 (22 Aug 2009 09:15:36 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Sat, 22 Aug 2009 09:15:36 +0000 (UTC) X-User: introw X-Forwarded-For: 77.89.75.190 X-Remote-IP: localhost MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit