Bug #13726 Updated: mktime bug
| From: | hholzgra@php.net | Date: | Thu, 18 Oct 2001 09:55:54 +0000 |
| Subject: | Bug #13726 Updated: mktime bug | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68208@lists.php.net to get a copy of this message | ||
ID: 13726
Updated by: hholzgra
Reported By: idisid@kyungmin.ac.kr
Old Status: Open
Status: Closed
Bug Type: Date/time related
Operating System: windows NT4.0
PHP Version: 4.0.6
New Comment:
behaviour of unix timestamp functions for dates
before 1.1.1970 is simply undefined and depends
on the system *and* c library implementation you
use
so stay away from undefined value ranges :)
Previous Comments:
------------------------------------------------------------------------
[2001-10-18 02:31:32] idisid@kyungmin.ac.kr
mktime(0,0,0,1,1,1969);
is return -1.
but in linux renturn valid value;
maybe before 1970 bug in win32 version.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13726&edit=1