note 48797 deleted from function.cal-days-in-month by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 01:54:44 +0000 |
| Subject: | note 48797 deleted from function.cal-days-in-month by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141921@lists.php.net to get a copy of this message | ||
Note Submitter: Pasci - webmaster at cyber-style dot net
----
Here's the one line solution without loops or other slow stuff ;)
<?php
$daynum = date("j",mktime(0,0,0,$month+1,0,$year));
?>