note 104487 rejected from function.date by danbrown
| From: | danbrown@php.net | Date: | Mon, 20 Jun 2011 15:40:56 +0000 |
| Subject: | note 104487 rejected from function.date by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-180792@lists.php.net to get a copy of this message | ||
Note Submitter: iscka76 at gmail dot com
----
hi All!
someone of you know this "feature" of php date function?
<?php
echo date("Y-m-d", 1319925600)."<br>";
echo date("Y-m-d", 1320012000);
?>
echoes
2011-10-30
2011-10-30
is this bug documented?
PHP version
PHP 5.2.10-2ubuntu6.7 with Suhosin-Patch 0.9.7 (cli) (built: Jan 12 2011 18:02:55)