Article View: pl.comp.lang.php
Article #220265Re: Wyświetlanie daty funkcją date
From: Lemat
Date: Sat, 22 Aug 2009 09:26
Date: Sat, 22 Aug 2009 09:26
23 lines
1781 bytes
1781 bytes
introw wrote:
> 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 @ ?
date_default_timezone_set()
--
Pozdrawiam
Lemat
easyISP jest spam friendly - utrzymuje notorycznego spamera polandexport /
ipeik / netex-sterling, pomóżcie ich przekonać nie wykupując u nich
hostingu.
Technical Details
Message-ID:
<h6odmq$l9$1@atlantis.news.neostrada.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mailReferences:
<h6ocvn$r61$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail From: Lemat <#@lemat.priv.pl> Newsgroups: pl.comp.lang.php Subject: Re: Wyświetlanie daty funkcją date Followup-To: pl.comp.lang.php Date: Sat, 22 Aug 2009 11:26:11 +0200 Organization: lemat.priv.pl Lines: 24 Message-ID: <h6odmq$l9$1@atlantis.news.neostrada.pl> References: <h6ocvn$r61$1@inews.gazeta.pl> NNTP-Posting-Host: quad.lemat.priv.pl Mime-Version: 1.0 X-Trace: atlantis.news.neostrada.pl 1250933274 681 79.190.106.116 (22 Aug 2009 09:27:54 GMT) X-Complaints-To: usenet@news.neostrada.pl NNTP-Posting-Date: Sat, 22 Aug 2009 09:27:54 +0000 (UTC) User-Agent: KNode/0.99.01 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit