In my DB I stored the time of the last page refresh in a TIME column. I want to compare the last page refresh to the current time now and find out how many 5 minuet periods have passed?
I was thinking take the last page refresh and subtract it from the current time then divide by 5. But I don't know about how things are formatted.
Help me please!