note 64009 added to function.cal-days-in-month
| From: | sasha at alronix dot com | Date: | Wed, 05 Apr 2006 13:46:00 +0000 |
| Subject: | note 64009 added to function.cal-days-in-month | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-107382@lists.php.net to get a copy of this message | ||
function days_in_month($a_month, $a_year) {
return date('t', strtotime($a_year . '-' . $a_month . '-01'));
}
----
Server IP: 66.163.161.117
Probable Submitter: 82.198.27.36 (proxied: 192.168.0.13)
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.cal-days-in-month.php
Edit -- http://master.php.net/note/edit/64009
Del: integrated -- http://master.php.net/note/delete/64009/integrated
Del: useless -- http://master.php.net/note/delete/64009/useless
Del: bad code -- http://master.php.net/note/delete/64009/bad+code
Del: spam -- http://master.php.net/note/delete/64009/spam
Del: non-english -- http://master.php.net/note/delete/64009/non-english
Del: in docs -- http://master.php.net/note/delete/64009/in+docs
Del: other reasons-- http://master.php.net/note/delete/64009
Reject -- http://master.php.net/note/reject/64009
Search -- http://master.php.net/manage/user-notes.php