Posts by Eitor Marques • 21 points
1 post
-
2
votes2
answers130
viewsA: PHP How do I multiply hours with the amount of times it will be repeated?
<?php $hora = "04:15:57"; //Transformar em segundos $tmp = explode(':', $hora); $segundos = $tmp[0] * 3600 + $tmp[1] * 60 + $tmp[2]; //Aplica a multiplicação $segundos = $segundos * 5;…