相关阅读: PHP strtotime() +1 month / -1 month 和预期结果不符_积跬步至千里-CSDN博客 PHP strtotime() +1 month / -1 month 和预期结果不符
echo strtotime("+1 year"); //返回的是时间戳
echo strtotime("+1 months");
echo strtotime("now"), "\n";
echo strtotime("10 September 2000"), "\n";
echo strtotime("+1 day"), "\n";
echo strtotime("+1 week"), "\n";
echo strtotime("+1 week 2 days 4 hours 2 seconds"), "\n";
echo strtotime("next Thursday"), "\n";
echo strtotime("last Monday"), "\n";