PHP determine if today is the last day of the month

if (date('j') != date('t') ) {
    return false;
}
////////////////
<?php
echo date("t") == date("j")?
        "Today is the last day of this month":"Today is not the last day of this month";
?>

Leave a Reply

Your email address will not be published.

en_USEnglish