note 119224 deleted from datetime.formats.compound by mazzanet
| From: | mazzanet@php.net | Date: | Mon, 25 Apr 2016 06:26:59 +0000 |
| Subject: | note 119224 deleted from datetime.formats.compound by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-205316@lists.php.net to get a copy of this message | ||
Note Submitter: tuxedobob
----
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().