📜  php datetime add 1 week - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:48.050000             🧑  作者: Mango

代码示例1
$date = new DateTime();
$date->modify('+1 day');
$date->modify('+5 week');