Quote (carteblanche @ 19 Jul 2012 18:40)
look at strtotime
Oo thanks, I tried using strtotime before but couldnt get it to work, took deeper look into it now and got what I wanted.
Code
$time = '01:32:15';
$var = strtotime($time);
$hours = date("H", $var);
$mins = date("i", $var);
$secs = date("s", $var);
From here I can get it to work as I wanted to.