note 68760 deleted from function.checkdate by bobby
| From: | bobby@php.net | Date: | Thu, 07 Sep 2006 18:55:47 +0000 |
| Subject: | note 68760 deleted from function.checkdate by bobby | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-116868@lists.php.net to get a copy of this message | ||
Note Submitter: Ricardo
----
RE: martin a pavel
You could also use the built in date function to get days in a month.
<?php
function DaysInMonth ( $Year, $MonthInYear ){
return date("t",mktime(0,0,0,$MonthInYear,1,$Year));
}
?>