note 3977 deleted from mktime by ronabop

From: Date: Thu, 17 Aug 2000 09:48:13 +0000
Subject: note 3977 deleted from mktime by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-2144@lists.php.net to get a copy of this message
mktime() bug? I just ran through some lines of code, and this odd bogo turned up: echo "march: ".mktime(0,0,0,03,08,2000)."<br>n"; echo "february: ".mktime(0,0,0,02,29,2000)."<br>n"; both returns "951778800", which is the timestamp for 2000-02-29... this was done on a winnt4/apache/php3.0.14 configuration. And the same example turned out exactly the same way on a Cobalt Raq2 (redhat/mips/apache/php3.0.14)... I guess this is a bug, but I don't really know where to tell this, so I do it here at the notation system... If I am mistaken, please respond to this via email... Thanks..

« previous php.notes (#2144) next »