php 将时间时分秒转换成时间戳 2018-08-07 ~ 1 min php laravel 如参数传过来是 23:59:59,需转换成 86399 $time = strtotime("23:59:59") - strtotime('today'); echo $time;