im trying to create a database for my hockey league and i need to keep track of penalties. To do this i need a timeIn and timeOut but i wanna be able to track exact minutes in penatly box. I figure if i can just store time in a db field that would allow me to subtract the two to get the # of minutes and seconds one was in the penalty box.
How can i store just minutes and seconds in the database?
example:
timeIn - 5:35
timeOut - 4:15
Total Time - 1:20
How can i store just minutes and seconds in the database?
example:
timeIn - 5:35
timeOut - 4:15
Total Time - 1:20