Platform: Hp Compaq 6710b
Operating System: Ubuntu 17.10
Development Tools: PERL 5.26, postgresql 9.6, netbeans, vim, python 2.7.14, openjdk 9
This is not for school or anything like it. I am retired and creating my own poker database, and yes I know of the other poker databases out there.
My problem is I do not know how to compute hours that overlap two or three days. So if I start at 10:00 A.M. on Sept 18 and leave my seat at 3:00 A.M. on Sept 19 what is the algorithm to compute the hours played?
Doubtful, but if I start at 10:00 A.M. on Sept 18 and leave my seat at 3:00 A.M. on Sept 20 or Sept 21 what is the algorithm to computer the hours played?
Thank you;
Sherman