note 41177 added to function.date
| From: | ctamayo at centrohogar dot cl | Date: | Thu, 01 Apr 2004 21:26:55 +0000 |
| Subject: | note 41177 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-67487@lists.php.net to get a copy of this message | ||
//determina el numero de días de un mes
function numerodias($mes,$ano){
$ultimo_dia=28;
while (checkdate($mes,$ultimo_dia + 1,$ano)){
$ultimo_dia++;
}
return $ultimo_dia;
}
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41177
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41177&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41177&report=yes
Search -- http://master.php.net/manage/user-notes.php