note 28224 rejected from function.mktime by nicos
| From: | nicos@php.net | Date: | Mon, 06 Jan 2003 16:46:46 +0000 |
| Subject: | note 28224 rejected from function.mktime by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41743@lists.php.net to get a copy of this message | ||
wtf at email dot ee asked:
> mktime (0,0,0,01,19,2038)=2147464800 (as espected :)
> mktime (0,0,0,01,20,2038)=-1 :(
>
> bug or what?
No, documented restriction. The answer (2147551200) exceeds the maximum value of a signed 31-bit
integer.