我有一个来自 MySql 的固定日期
startDate = 07/03/2011
我想在这个日期之上加上 60 天来获得一个 endDate。
$startDate = $result['startDate'];
$endDate = ??? + strtotime("+60 days");
echo $endDate;
根据我的研究,我知道它与 strtotime 有关,但我遇到的所有站点都基于当前工作站时间的开始日期。我的日期已经确定并在运行和获取 endDate 之前输入。
帮助?提前致谢!