note 27284 added to function.mktime
| From: | betimd at ipko dot net | Date: | Sat, 30 Nov 2002 16:51:21 +0000 |
| Subject: | note 27284 added to function.mktime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40185@lists.php.net to get a copy of this message | ||
I made a test and i saw that
mktime(4,14,7,1,19,2038) = 2147483647
which is the highest returned value.
Arguments inside mktime() function are the highest that we can use.
-1 will be returned if we use grater values of arguments.
2147483647 should be the max value of integer type(i can't remeber now).
For now this isn't such a big problem but in 2038 we'll see :)
Till then, the return type should be changed to a longer on
:)
--
http://www.php.net/manual/en/function.mktime.php
http://master.php.net/manage/user-notes.php?action=edit+27284
http://master.php.net/manage/user-notes.php?action=delete+27284
http://master.php.net/manage/user-notes.php?action=reject+27284