Answers for "getting last day of next month in php"

PHP
0

last day of previous month in php

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

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

getting last day of next month in php

$lastDateOfNextMonth =strtotime('last day of next month') ;

$lastDay = date('d/m/Y', $lastDateOfNextMonth);

 

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

Code answers related to "getting last day of next month in php"

Browse Popular Code Answers by Language