PHP 4.0 Bug #6894: strftime and 2000-10-29

From: Date: Wed, 27 Sep 2000 03:03:58 +0000
Subject: PHP 4.0 Bug #6894: strftime and 2000-10-29
Groups: php.dev 
Request: Send a blank email to php-dev+get-33737@lists.php.net to get a copy of this message
From: martin.m.luethi@ascom.ch Operating system: win32 (windows2000) PHP version: 4.0.2 PHP Bug Type: Date/time related Bug description: strftime and 2000-10-29 hi, i use following php script: $actualday = mktime(0,0,0); for ($i = 0; $i < 60; $i++) { echo strftime("%d.%m.%Y", $actualday)."<br>"; $actualday += 60*60*24; //= 1 day } it just prints out a list with some dates, but why does the date 2000-10-29 (or 2001-10-28 ...) appears twice?

« previous php.dev (#33737) next »