fork(34) download
  1. <?php
  2.  
  3. $total = 685;
  4. $horas = floor($total / 3600);
  5. $minutos = floor(($total - ($horas * 3600)) / 60);
  6. $segundos = floor($total % 60);
  7. echo $horas . ":" . $minutos . ":" . $segundos;
Success #stdin #stdout 0.01s 24400KB
stdin
Standard input is empty
stdout
0:11:25