note 59479 added to function.date
| From: | matthaynie at osu1 dot php dot net | Date: | Thu, 08 Dec 2005 04:35:28 +0000 |
| Subject: | note 59479 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-99725@lists.php.net to get a copy of this message | ||
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']);
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+59479
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59479&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59479&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59479&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59479&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59479&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59479&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59479&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+59479&report=yes
Search -- http://master.php.net/manage/user-notes.php