Answers for "php show number of records for eack day of month"

PHP
1

php get total amount of days in month

$DaysInCurrentMonth = date('t');
Posted by: Guest on August-05-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

Browse Popular Code Answers by Language