strtotime("+$day day $second second +$date")
';?>
你运行下不就清楚了
令 $day = $second = 1
$date = '2013-05-09 11:00:00'
则 strtotime("+$day day +$second second $date")
就是 strtotime("+1 day 1 second 2013-05-09 11:00:00")
即返回比 2013-05-09 11:00:00 多 1 天 1 秒 的 unix时间戳
strtotime("+$day day $second second +$date")
是不是应该这么写呢
strtotime("+$day day $second second",$date)
是不是应该这么写呢
strtotime("+$day day $second second",$date)
令 $day = $second = 1
$date = '2013-05-09 11:00:00'
则 strtotime("+$day day +$second second $date")
就是 strtotime("+1 day 1 second 2013-05-09 11:00:00")
即返回比 2013-05-09 11:00:00 多 1 天 1 秒 的 unix时间戳 谢谢,版主好人呢
strtotime("+$day day $second second +$date")