increasing date or how to get next date to current date or date in loop

increasing date or how to get next date to current date or date in loop

for applying date in a loop
you have to increasing date according to your condition.
so there is a way

$date = date (“Y-m-d”, strtotime (“+1 day”, strtotime($date)));

 

You may also like...

Creating a Shopify App using Laravel How to Create Custom WordPress Plugin? How to Build a Telegram Bot using PHP How to Convert Magento 2 into PWA?