Guys,
When writing rows to a DB, I'm using the MySQL built in TimeStamp column type - now I want to select all rows that are no more than 30 days old, what is the syntax to do something like this?
I've tried this and it finds no results...
"SELECT AdvertTitle, AdvertDateAdded FROM tbl_marketplace_adverts WHERE AdvertDateAdded > now()-30"
Am I being silly?