note 109970 deleted from function.mktime by danbrown

From: Date: Thu, 06 Sep 2012 16:51:39 +0000
Subject: note 109970 deleted from function.mktime by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-190540@lists.php.net to get a copy of this message
Note Submitter: mdlamar at gmail dot com ---- For tothpeter: Use date('n') for month argument to mktime to get month without leading zeros. Use date('j') for day argument to mktime to get the day without leading zeros as specified in the argument list. The argument 09 for month must have evaluated to 0, giving the time for December of the previous year.

« previous php.notes (#190540) next »