php: +1天, +3个月, strtotime(): +1 day, +3 month
比如,我现在当前时间基础上+1天:
strtotime("+1 day");
比如我现在,2014-05-01时间上 + 3个月
$s = strtotime("2014-05-01");
$d = strtotime("+3 month", $s);
php: +1天, +3个月, strtotime(): +1 day, +3 month
比如,我现在当前时间基础上+1天:
strtotime("+1 day");
比如我现在,2014-05-01时间上 + 3个月
$s = strtotime("2014-05-01");
$d = strtotime("+3 month", $s);
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。