I’m looking to display listings from my database where the row creation (which is a timestamp) is after 12 hours from “NOW”.
I’ve found a lot of documentation on within a timeframe, e.g:
WHERE `date` <= DATE_SUB(now(), INTERVAL 12 HOUR)
But I can’t figure out how to SELECT when a row is after 12 hours. (Keeping everything that was created within 12 hours not selected)
Any help would be really appreciated,
Thanks!
1 Answer