Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php parse minutes to hours

$minutes = 125;

$hours = floor($minutes / 60);
$min = $minutes - ($hours * 60);

echo $hours.":".$min;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #parse #minutes #hours
ADD COMMENT
Topic
Name
6+6 =