note 117622 deleted from function.strtotime by crell
| From: | crell@php.net | Date: | Thu, 30 Jun 2022 20:40:13 +0000 |
| Subject: | note 117622 deleted from function.strtotime by crell | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-218807@lists.php.net to get a copy of this message | ||
Note Submitter: Andrey Kabakchiev
----
Actually the top-voted comment from 'sam at frontiermedia dot net dot au' is not quite
right, as is the documentation Note. The correct assumptions made by strtotime() are:
Forward slashes (/) assume US formatted dates, e.g mm/dd/yy
Periods (.) assume Non-US dates, e.g dd.mm.yy
Hypens (-) assume ISO 8601 (ATOM) formatted dates, e.g yy-mm-dd