I'm very frustrated I can't get this to work since it seems so easy. I have two time variables in my databases
SCHTM and DURATION
I need to add these two together, then add one hour.
I have this adding the two variables correctly and displaying in the format I need:
$TotTime = strToTime($SCHTM) + strToTime($DURATION) - strToTime("00:00:00");
$TTF= date("H:i", $TotTime);
But whenever I try to add one hour, it messes things up.