Hi everyone,
I have 2 fields I am getting in a query:
startTime (is in time format 00:00:00)
gameLength (is in minutes)
What I want to do is have a query that will add the minutes for the gameLength to the startTime to give me the endTime.
I don't know how to do this. I figure it might be something like:
SELECT gameLocation, MINUTE($startTime + $gameLength) as endTime
FROM Game
WHERE Gameid=$game
I am not sure if this is right, but I want it (endTime) to end up being in time format (00:00:00), not in minute format. Can I do all that through my query?
Can someone help point me in the right direction?
Any help is greatly appreciated.
Thanks for your time!!