Answers for "php last monday of month"

PHP
1

last day of previous month in php

$lastDay = date('t',strtotime('last month'));

print_r($lastDay);
Posted by: Guest on November-28-2020
-1

check if is the last day of the month php

if(gmdate('t') == gmdate('d')){
    echo 'Last day of the month.';
}
Posted by: Guest on December-10-2020

Code answers related to "php last monday of month"

Browse Popular Code Answers by Language