Guest User

Untitled

a guest
Jan 17th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. function MinToHra($Calc){
  2. $segundos = $Calc * 60;
  3. $horas = floor($segundos / 3600);
  4. $minutos = floor(($segundos - ($horas * 3600)) / 60);
  5. $HrMin = $horas."h ".$minutos."m";
  6. return $HrMin;
  7. }
Add Comment
Please, Sign In to add comment