Memory Refresh



String,  
Datetime

1) Add 7 days to a datetime object. <?php $datetime1 = new DateTime("2018-10-20"); $datetime1->add(______________);




2) Get days interval. <?php $datetime1 = new DateTime("2018-10-20"); $datetime2 = new DateTime("2018-10-30");




0 / 0