I am relatively new to php.
I have time saved in database as datetime
with format 2014-08-09 15:56:28
I want to get all rows that have time difference between this updated time and current time by less than 60 seconds.
I have been searching and found TIMESTAMPDIFF
, it seemed complex. Anyone can help with an easy approach or better code using above command?