Bug #1876: date() function returns Dec-1969 for years below 1902.

From: Date: Mon, 26 Jul 1999 13:40:45 +0000
Subject: Bug #1876: date() function returns Dec-1969 for years below 1902.
Groups: php.dev 
Request: Send a blank email to php-dev+get-9162@lists.php.net to get a copy of this message
From: joel@joelryan.com Operating system: Debian PHP version: 3.0.7 PHP Bug Type: Misbehaving function Bug description: date() function returns Dec-1969 for years below 1902. The following line reproduces the problem. echo date('M-Y',mktime(0,0,0,1,1,1901)) This line works correctly. echo date('M-Y',mktime(0,0,0,1,1,1902))

« previous php.dev (#9162) next »