php 当前时间 strtotime time() day 基础上 当前 time ()
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
php 当前时间 strtotime time() day 基础上 当前 time ()
原文:http://www.cnblogs.com/achengmu/p/7859722.html
来源: http://www.bubuko.com/infodetail-2400617.html