note 101018 deleted from function.date by tularis
| From: | tularis@php.net | Date: | Thu, 09 Feb 2012 20:52:53 +0000 |
| Subject: | note 101018 deleted from function.date by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-185967@lists.php.net to get a copy of this message | ||
Note Submitter: purefusion2 at yahoo dot com
----
A really simple way to check if today's the last day of the month:
<?php
// If today is the last day of the month, do stuff
if(date('j') == date('t')) {
// Do Stuff
}
?>