note 115228 deleted from function.date by peehaa
| From: | peehaa@php.net | Date: | Fri, 06 Jan 2017 15:54:37 +0000 |
| Subject: | note 115228 deleted from function.date by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208701@lists.php.net to get a copy of this message | ||
Note Submitter: jock
----
As of PHP 5.3.3, date('c') will produce a string like this:
2014-06-17T16:22:42+02:00
Instead date (DATE_ISO8601) will produce:
2014-06-17T16:23:36+0200
which lacks the semicolon in the timezone part. Both are ISO8601 compliant anyway, but I found that
the latter has better compatibility with other languages like python.