check is last of month php code example
Example: check if is the last day of the month php
if(gmdate('t') == gmdate('d')){
echo 'Last day of the month.';
}
if(gmdate('t') == gmdate('d')){
echo 'Last day of the month.';
}