note 10641 deleted from function.mktime by hholzgra

From: Date: Sun, 14 Apr 2002 22:13:31 +0000
Subject: note 10641 deleted from function.mktime by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-29335@lists.php.net to get a copy of this message
not sure if this has been changed in php4.04 or something but the mktime documentation is incorrect as far as finding the last day of the month. (this is under the debian php4.0.3pl1 package) The listed code will return the timestamp containing the last day of the month previous to the one given(not the month itself). Putting a Date("d", ... ) around both of the mktimes will fix the problem.

« previous php.notes (#29335) next »