note 59743 deleted from function.cal-days-in-month by dmytton
| From: | dmytton@php.net | Date: | Wed, 14 Dec 2005 19:03:49 +0000 |
| Subject: | note 59743 deleted from function.cal-days-in-month by dmytton | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-100153@lists.php.net to get a copy of this message | ||
Note Submitter: alexschmitt689 at hotmail dot com
Reason: non-english
----
Esta função pega o mes e o ano atual e conta o numero de dias dos respectivos dados.
$day_h=date('d',time());
$mes=date('m',time());
$ano=date('Y',time());
$num = cal_days_in_month(CAL_GREGORIAN, $mes, $ano);
for ($day = $day_h; $day <= $num; $day++) {
$data=date($day.'/m/Y',time());