note 115631 deleted from function.strtotime by derick
| From: | derick@php.net | Date: | Sun, 14 Dec 2014 11:37:59 +0000 |
| Subject: | note 115631 deleted from function.strtotime by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-201182@lists.php.net to get a copy of this message | ||
Note Submitter: alekas at elykinnovation dot com
----
As this page documents: strtotime will "Parse about any English textual datetime description
into a Unix timestamp," even ones that aren't immediately clear to the developer.
strtotime('west'); and strtotime('east'); return valid Unix timestamps even
though it doesn't make sense semantically.
strtotime('west'); will return the time in the timezone to the west of your current
timezone.
strtotime('east'); will return the time in the timezone to the east of your current
timezone.