note 9294 added to date
| From: | russlndr at online dot no | Date: | Thu, 26 Oct 2000 13:04:50 +0000 |
| Subject: | note 9294 added to date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7018@lists.php.net to get a copy of this message | ||
Week number:
print strftime("%W");
Last month day:
$lastdayofmonth = date("d", mktime(0,0,0,date("m")+1,0, date("Y")));
http://www.php.net/manual/function.date.php