note 86930 modified in function.cal-days-in-month by felipe
| From: | felipe@php.net | Date: | Wed, 12 Nov 2008 13:14:39 +0000 |
| Subject: | note 86930 modified in function.cal-days-in-month by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-146424@lists.php.net to get a copy of this message | ||
<?php
$last_day = date('d', mktime(0, 0, 0, $this->month + 1, 0, $this->year));
?>
--was--
$last_day = date('d', mktime(0, 0, 0, $this->month + 1, 0, $this->year));
http://php.net/manual/en/function.cal-days-in-month.php