/*** Function gettime* 时间转换(将时分秒转换为秒)* @param $n INT秒*/public function gettime($time){$explodetime1 = explode("时",$time);$time_shi=$explodetime1[0];$explodetime2 =explode("分",$explodetime1[1]);$time_fen=$explodetime2[0];$explodetime3 = explode("秒",$explodetime2[1]);$time_miao=$explodetime3[0];$timeallmiao = $time_shi*3600+$time_fen*60+$time_miao;return $timeallmiao;}
