note 32808 deleted from function.mktime by sniper

From: Date: Tue, 04 Nov 2003 13:10:25 +0000
Subject: note 32808 deleted from function.mktime by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-59869@lists.php.net to get a copy of this message
Note Submitter: phyreDONTSPAMME@rogers.com ---- Here's an interesting note (using PHP 4.2.x): echo date('Y-m-d', mktime(0, 0, 0, 08, 6, 2003)) >> 2002-12-06 echo date('Y-m-d', mktime(0, 0, 0, 8, 6, 2003)) >> 2003-08-06 Odd that putting a leading zero on the month (has no effect on the day), causes issues. Something to note in terms of using the function as well. Cheers; -M

« previous php.notes (#59869) next »