php 将时间时分秒转换成时间戳

如参数传过来是 23:59:59,需转换成 86399

$time = strtotime("23:59:59") - strtotime('today');
echo $time;