note 63771 deleted from function.mktime by bjori

From: Date: Thu, 30 Mar 2006 16:13:49 +0000
Subject: note 63771 deleted from function.mktime by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-107040@lists.php.net to get a copy of this message
Note Submitter: Bill ---- Note the month argument in each of the three examples: A: date("Y-m-d H:i:s", mktime(5, 47, 23, 1, 30, 2006)) returns 2006-01-30 05:47:23 = correct! B: date("Y-m-d H:i:s", mktime(5, 47, 23, 2, 30, 2006)) returns 2006-03-02 05:47:23 = incorrect! C: date("Y-m-d H:i:s", mktime(5, 47, 23, 3, 30, 2006)) returns 2006-03-30 05:47:23 = correct! mktime() doesn't work.

« previous php.notes (#107040) next »