i got a simple question for some, but not so simple for me.
I want to add a defined amount of minutes to a defined time. It is a ticket penalty system, and there is a remove function, which are going to be disabled after a certain amount of time.
My code right now is:
$clock = date("H:i", time());
$penaltyTime = $getInfo["time"];
$allowedTime = $getInfo["allowed"];
$finalTime = $penaltyTime + $allowedTime; ???
Let us say that penaltyTime is 22:00 and allowedTime is 5, how can i then add the 5 minutes to 22:00, so i have a final variable called $finalTime, where the value is 22:05.
Thanks in advance.