here is a function that will accept any number and convert it to that format:
function num_to_time ($num) {
$hours = floor($num/3600);
$minutes = floor(($num - ($hours * 3600)) / 60);
$seconds = $num - (($hours * 3600) + ($minutes * 60));
$time = $hours . ':' . $minutes . ':' . $seconds;
return $time;
}
so this code:
// the number of seconds:
$x = 99999999;
// converts seconds to formatted time:
$y = num_to_time($x);
echo ($y);
would output:
277777:46:39
hope that helps.