<?php $date = "2016-01-30"; $date = date('Y-m-d', strtotime("last day of next month",strtotime($date))); echo $date;
You have javascript disabled. You will not be able to edit any code.