note 59479 modified in function.date by tularis
| From: | tularis@php.net | Date: | Thu, 08 Dec 2005 11:16:01 +0000 |
| Subject: | note 59479 modified in function.date by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-99738@lists.php.net to get a copy of this message | ||
--- 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']);
--was--
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']);
http://php.net/manual/en/function.date.php