note 69378 rejected from function.date by bobby

From: Date: Thu, 07 Sep 2006 18:24:14 +0000
Subject: note 69378 rejected from function.date by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-116864@lists.php.net to get a copy of this message
Note Submitter: V Poj ---- or just take advantage of the fact that the zero'th day of the month is the last day of the previous month: <?php $month_before = date("Y-m",mktime(0,0,0,date("m"),0,date("Y"))) ?>

« previous php.notes (#116864) next »