note 106476 added to function.cal-days-in-month
| From: | Anonymous at osu1 dot php dot net | Date: | Fri, 11 Nov 2011 23:51:39 +0000 |
| Subject: | note 106476 added to function.cal-days-in-month | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-184406@lists.php.net to get a copy of this message | ||
You can also use the date() function to get the number of days in a month. You can also pass the 2nd
param strtotime() and specify a specific date:
date('t');
----
Server IP: 69.147.83.197
Probable Submitter: 174.127.33.234
----
Manual Page -- http://www.php.net/manual/en/function.cal-days-in-month.php
Edit -- https://master.php.net/note/edit/106476
Del: integrated -- https://master.php.net/note/delete/106476/integrated
Del: useless -- https://master.php.net/note/delete/106476/useless
Del: bad code -- https://master.php.net/note/delete/106476/bad+code
Del: spam -- https://master.php.net/note/delete/106476/spam
Del: non-english -- https://master.php.net/note/delete/106476/non-english
Del: in docs -- https://master.php.net/note/delete/106476/in+docs
Del: other reasons-- https://master.php.net/note/delete/106476
Reject -- https://master.php.net/note/reject/106476
Search -- https://master.php.net/manage/user-notes.php