I am trying to write a script that deletes records that are an hour old. However, I am working on this project with somebody else and they don't use unix timestamps like I am used to. Rather, they use the SQL timestamp (2007-10-02 07:51:00) method.
How would you write a query that does what I am looking for?
Also how would I write a query that tells me the time left before expiration?
I don't like the SQL timestamp.