Bug #15005: Date bug with two and four digit year

From: Date: Sat, 12 Jan 2002 01:04:24 +0000
Subject: Bug #15005: Date bug with two and four digit year
Groups: php.dev 
Request: Send a blank email to php-dev+get-76724@lists.php.net to get a copy of this message
From: shellum@amirani.com Operating system: Windows2000 PHP version: 4.1.1 PHP Bug Type: Date/time related Bug description: Date bug with two and four digit year I didn't see this bug posted, and I know that it worked fine in all my scripts in 2001. In 2002, it displays 2011 instead of 2002 for the year example : date("Y"); or date("y") will return "2011" or "11" instead of "2002" or "02" I'm using Windows 2000 with service pack 2 PHP 4.1.1 win32 binaries un-modified downloaded direct from php.net on Microsoft's Personal Web Server that came with Windows98 SE. Loading on IE 5.5. Thanks --Cameron Sellum -- Edit bug report at: http://bugs.php.net/?id=15005&edit=1

« previous php.dev (#76724) next »