note 39585 deleted from function.cal-days-in-month by jacques

From: Date: Fri, 01 Jul 2005 17:14:31 +0000
Subject: note 39585 deleted from function.cal-days-in-month by jacques
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-91274@lists.php.net to get a copy of this message
Note Submitter: jimphp at simianstereo dot com ---- Id suggest the best way to get days in a month is to use $inMonth = the month of the year of which you wish to know the number of days for $inYear = the year! <?php date("j",mktime(0,0,0,$inMonth+1,0, $inYear)) ?> simple.

« previous php.notes (#91274) next »