|
|
@ -18,7 +18,6 @@ ini_set('max_execution_time',7200); |
|
|
|
function my_get_time($time){ |
|
|
|
function my_get_time($time){ |
|
|
|
$matches = array(); |
|
|
|
$matches = array(); |
|
|
|
if(preg_match('/(\d{1,4}):(\d{2})(:(\d{2})(\.\d*)?)?/',$time,$matches)){ |
|
|
|
if(preg_match('/(\d{1,4}):(\d{2})(:(\d{2})(\.\d*)?)?/',$time,$matches)){ |
|
|
|
print_r($matches); |
|
|
|
|
|
|
|
if(count($matches)==3){ |
|
|
|
if(count($matches)==3){ |
|
|
|
return ($matches[1]*60)+($matches[2]); |
|
|
|
return ($matches[1]*60)+($matches[2]); |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|