<?php $times = ["1:10:12", "2:15:33", "3:12:10"]; $today = strtotime(date("Y-m-d")); foreach ($times as $time){ echo $today - strtotime(strtotime($time)); }
You have javascript disabled. You will not be able to edit any code.