Return to Snippet

Revision: 4474
at December 19, 2007 07:31 by alli14404


Initial Code
<?php

	date("t"); // Number of days in the given month (from php documentation)

?>

Initial URL
http://uk3.php.net/date

Initial Description
Easiest way to get the last day in the current month.

Initial Title
PHP Last Day of Current Month

Initial Tags
php, date

Initial Language
PHP