How can I find first day of the next month and the remaining days till this day from the present day?
Thank you
echo date('Y-m',strtotime("+1 month")).'-01';
Simplest way to achieve this. You can echo or store into variable.