How can I find first day of the next month and the remaining days till this day from the present day?
Thank you
The easiest and quickest way is to use strtotime() which recognizes 'first day next month';
$firstDayNextMonth = date('Y-m-d', strtotime('first day next month'));