Bug #14313 Updated: strtotime() and mktime() errors for dates before 1970

From: Date: Sun, 02 Dec 2001 11:28:41 +0000
Subject: Bug #14313 Updated: strtotime() and mktime() errors for dates before 1970
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-72263@lists.php.net to get a copy of this message
ID: 14313 Updated by: derick Reported By: vipm@mac.com Old Status: Open Status: Bogus Bug Type: Date/time related Operating System: windows98 PHP Version: 4.0.6 New Comment: Not a bug... PHP uses the native system calls for this. The windows API simply returns different (wrong) results. There is nothing that can be done about it. Derick Previous Comments: ------------------------------------------------------------------------ [2001-12-01 23:13:55] vipm@mac.com In PHP 4.0.6 for Linux and MacOSX, strtotime() and mktime() functions produce correct output for dates before 1970, but in Windows98 and Windows2000, I get an error (-1), e.g., strtotime("1965-3-12") ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14313&edit=1

« previous php.dev (#72263) next »