Increase days to php current Date()

前端 未结 11 1341
予麋鹿
予麋鹿 2020-12-04 19:13

How do I add a certain number of days to the current date in PHP?

I already got the current date with:

$today = date(\'y:m:d\');

Ju

11条回答
  •  臣服心动
    2020-12-04 19:52

    setISODate($_GET['year'], $_GET['week']);
    } else {
        $dt->setISODate($dt->format('o'), $dt->format('W'));
    }
    $year = $dt->format('o');
    $week = $dt->format('W');
    ?>
    
    Pre Week 
    Next Week
    " . $dt->format('M') . "
    " . $dt->format('d M Y') . "\n"; $dt->modify('+1 day'); } while ($week == $dt->format('W')); ?>
    Employee

提交回复
热议问题