note 119224 added to datetime.formats.compound
| From: | tuxedobob | Date: | Thu, 21 Apr 2016 19:01:34 +0000 |
| Subject: | note 119224 added to datetime.formats.compound | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-205300@lists.php.net to get a copy of this message | ||
When trying to create a DateTime from a string, PHP essentially doesn't care about leading
zeroes in hours.
When converting a DateTime to a string, PHP will honor leading zeroes as documented in date().
----
Server IP: 72.52.91.14
Probable Submitter: 66.30.234.149
----
Manual Page -- http://php.net/manual/en/datetime.formats.compound.php
Edit -- https://master.php.net/note/edit/119224
Del: integrated -- https://master.php.net/note/delete/119224/integrated
Del: useless -- https://master.php.net/note/delete/119224/useless
Del: bad code -- https://master.php.net/note/delete/119224/bad+code
Del: spam -- https://master.php.net/note/delete/119224/spam
Del: non-english -- https://master.php.net/note/delete/119224/non-english
Del: in docs -- https://master.php.net/note/delete/119224/in+docs
Del: other reasons-- https://master.php.net/note/delete/119224
Reject -- https://master.php.net/note/reject/119224
Search -- https://master.php.net/manage/user-notes.php