I want to make a choice of MySQL, where the difference between NOW () and the timestamp in the table is less than a certain period of time, for example 24 hours. I tried doing subtraction, but it did not work, and DateDiff is not what I want. There should be an easy way to do this, but I can't figure it out. Any ideas?
thank
source
share