<?php
$event_time = '09:00:00';
$event_length = 15;

$timestamp = strtotime("$event_time");
$etime = strtotime("+$event_length minutes", $timestamp);
echo $next_time = date('H:i:s', $etime);
?>

Advertisements