note 41755 deleted from function.mktime by irchtml

From: Date: Wed, 21 Apr 2004 17:42:56 +0000
Subject: note 41755 deleted from function.mktime by irchtml
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-68465@lists.php.net to get a copy of this message
Note Submitter: s.kraus@moscher.com ---- NoOne wrote: > mktime(0, 0, 0, 02, 0, 2004); > i didn't think the numbers 0 and 09 were the same. > guess i was wrong?!?!? Hi NoOne, you should note, that 0 and NULL are not the same. As the month 0 does not exist, PHP estimates, that you mean the 12th month of the previous year (12.2004). If you want to use the system's date, try this: mktime(0, 0, 0, 02); regards from germany, Sebastian

« previous php.notes (#68465) next »