function changeTimeType($seconds) { $seconds = intval($seconds); if ($seconds > 3600) { $hours = intval($seconds / 3600); $time = $hours . ":" . gmstrftime('%M:%S', $seconds); } else { $time = gmstrftime('%H:%M:%S', $seconds); } return $time; }
function changeTimeType($seconds) { $seconds = intval($seconds); if ($seconds > 3600) { $hours = intval($seconds / 3600); $time = $hours . ":" . gmstrftime('%M:%S', $seconds); } else { $time = gmstrftime('%H:%M:%S', $seconds); } return $time; }