I am currently working on a db tracking playing online poker tournaments. Part of this is tracking the overall time I play. Currently I have a session timer that I start and stop at the beginning and end of session. then a table that tracks the sessions.
I would like a more programmatic solution.
Each record has the date, start time, and length of tournament.
Since I play 20 games at once the tournaments all start and stop at different times during the sessions. So I need access to look at the first tournament in a session start time and the go the rough the lengths and start times of subsequent tournaments until it determines there no active games left when a tournament ended.
then it should take the length of the tournament and add it to the start time to get the sessions end time.
then take first start time and the calculated end time and count the minutes in between.
I have no idea how to even start doing this
I would like a more programmatic solution.
Each record has the date, start time, and length of tournament.
Since I play 20 games at once the tournaments all start and stop at different times during the sessions. So I need access to look at the first tournament in a session start time and the go the rough the lengths and start times of subsequent tournaments until it determines there no active games left when a tournament ended.
then it should take the length of the tournament and add it to the start time to get the sessions end time.
then take first start time and the calculated end time and count the minutes in between.
I have no idea how to even start doing this