note 26704 deleted from function.cal-days-in-month by didou
| From: | didou@php.net | Date: | Sat, 16 Aug 2003 15:56:46 +0000 |
| Subject: | note 26704 deleted from function.cal-days-in-month by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54396@lists.php.net to get a copy of this message | ||
Note Submitter: public@schnappmatik.de
----
this one works fine for me, without calendar-module compiled in:
function get_days_in_month($year,$month)
{
$date=getdate(mktime(0,0,0,$month+1,0,$year));
return $date["mday"];
}