$lastDateOfNextMonth =strtotime('last day of next month') ; $lastDay = date('d/m/Y', $lastDateOfNextMonth); print_r($lastDay);