note 16617 added to function.mktime

From: Date: Tue, 06 Nov 2001 21:41:57 +0000
Subject: note 16617 added to function.mktime
Groups: php.notes 
Request: Send a blank email to php-notes+get-20520@lists.php.net to get a copy of this message
I've read that : Date with year, month and day equal to zero is considered illegal (otherwise it what be regarded as 30.11.1999, which would be strange behaviour). It's not a strange behaviour : Starting with the year : year 00 is year 2000. Ok. Now the month : 0. Go back one month it gives : 00-12-1999 . And finaly the day, it gives 30-11-1999. << Eurêka >> -- http://www.php.net/manual/en/function.mktime.php http://master.php.net/manage/user-notes.php?action=edit+16617 http://master.php.net/manage/user-notes.php?action=delete+16617 http://master.php.net/manage/user-notes.php?action=reject+16617

« previous php.notes (#20520) next »