note 80541 added to function.strtotime
| From: | chris at cmbuckley dot co dot uk | Date: | Mon, 21 Jan 2008 13:56:09 +0000 |
| Subject: | note 80541 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135288@lists.php.net to get a copy of this message | ||
As with each of the time-related functions, and as mentioned in the time() notes, strtotime() is
affected by the year 2038 bug on 32-bit systems:
<?php
echo strtotime('13 Dec 1901 20:45:51'); // false
echo strtotime('13 Dec 1901 20:45:52'); // -2147483648
echo strtotime('19 Jan 2038 03:14:07'); // 2147483647
echo strtotime('19 Jan 2038 03:14:08'); // false
?>
----
Server IP: 194.145.210.3
Probable Submitter: 212.50.188.101
----
Manual Page -- http://www.php.net/manual/en/function.strtotime.php
Edit -- https://master.php.net/note/edit/80541
Del: integrated -- https://master.php.net/note/delete/80541/integrated
Del: useless -- https://master.php.net/note/delete/80541/useless
Del: bad code -- https://master.php.net/note/delete/80541/bad+code
Del: spam -- https://master.php.net/note/delete/80541/spam
Del: non-english -- https://master.php.net/note/delete/80541/non-english
Del: in docs -- https://master.php.net/note/delete/80541/in+docs
Del: other reasons-- https://master.php.net/note/delete/80541
Reject -- https://master.php.net/note/reject/80541
Search -- https://master.php.net/manage/user-notes.php