note 59479 deleted from function.date by nlopess
| From: | nlopess@php.net | Date: | Mon, 12 Dec 2005 19:47:39 +0000 |
| Subject: | note 59479 deleted from function.date by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-100017@lists.php.net to get a copy of this message | ||
Note Submitter: matt haynie
----
--- editor's note ---
this is correct because the date object is not yet available. It will probably be available as of
PHP 5.2
--- end note ---
I was trying to use the date::w3c feature and couldn't get it to work. I was using the example
on http://se2.php.net/manual/en/function.date.php
and finally guessed the correct way to write this is:
echo date(w3c,$_SERVER['REQUEST_TIME']);