note 2717 deleted from function.mktime by vincent

From: Date: Wed, 10 Sep 2003 19:09:10 +0000
Subject: note 2717 deleted from function.mktime by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56012@lists.php.net to get a copy of this message
Note Submitter: rene.fertig@wtal.de ---- take care: mktime() returns -1 when year is 0! This occurs until date is greater than 13-12-01 (DD-MM-YY). This can cause some "Y2K"-problems, when using year 00 or 01 instead of 2000 or 2001, respectively. I think that isn't really a bug as year should always be entered in 4digit notation.

« previous php.notes (#56012) next »