note 42814 added to function.date
| From: | anamexis at yahoo dot com | Date: | Sun, 30 May 2004 16:13:01 +0000 |
| Subject: | note 42814 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70312@lists.php.net to get a copy of this message | ||
Actually, according to the ISO 8601 spec (http://www.cl.cam.ac.uk/~mgk25/iso-time.html), either
+hh:mm or +hhmm are allowed as valid time zone indicators.
Therefore, the date string "Y-m-d\TH:i:sO" is valid.
Also, you could use gmdate("Y-m-d\TH:i:s\Z") for a valid ISO 8601 date in UTC.
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42814
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42814&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42814&report=yes
Search -- http://master.php.net/manage/user-notes.php