Bug #3092: mktime returns error value (-1) for some value of year

From: Date: Mon, 03 Jan 2000 17:57:46 +0000
Subject: Bug #3092: mktime returns error value (-1) for some value of year
Groups: php.dev 
Request: Send a blank email to php-dev+get-14231@lists.php.net to get a copy of this message
From: piarrech.crepin@publicis-technology.com Operating system: solaris PHP version: 3.0.9 PHP Bug Type: Other Bug description: mktime returns error value (-1) for some value of year mktime(0,0,0,$mm,$dd,$YYYY) returns -1 (error) if $YYYY is inferior to 1901 or superior to 2039. use of function date("Y", mktime(0,0,0,$mm,$dd,$YYYY)) with there values returns 1970.

« previous php.dev (#14231) next »