<?php $num=5; $timeUnit="01:01"; $current=strtotime($timeUnit); //seconds of current time $add=$num*60; // convert the $num into seconds echo date("H:i",$current+$add);
You have javascript disabled. You will not be able to edit any code.