Tecnologia

Converter segundos

 
$seconds = 60;
$hours = floor($seconds / 3600);
$seconds = $seconds % 3600;
$minutes = floor($seconds / 60);
$seconds = $seconds % 60;

echo sprintf("%02d:%02d:%02d", $hours, $minutes, $seconds);
2020 © B85 Tecnologia
eu@andersonbravo.com.br