note 115631 added to function.strtotime
| From: | alekas at elykinnovation dot com | Date: | Thu, 28 Aug 2014 14:22:35 +0000 |
| Subject: | note 115631 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-200332@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 64.71.164.2
Probable Submitter: 173.12.142.236
----
Manual Page -- http://php.net/manual/en/function.strtotime.php
Edit -- https://master.php.net/note/edit/115631
Del: integrated -- https://master.php.net/note/delete/115631/integrated
Del: useless -- https://master.php.net/note/delete/115631/useless
Del: bad code -- https://master.php.net/note/delete/115631/bad+code
Del: spam -- https://master.php.net/note/delete/115631/spam
Del: non-english -- https://master.php.net/note/delete/115631/non-english
Del: in docs -- https://master.php.net/note/delete/115631/in+docs
Del: other reasons-- https://master.php.net/note/delete/115631
Reject -- https://master.php.net/note/reject/115631
Search -- https://master.php.net/manage/user-notes.php