I am trying to select all records from a table that are over (for instance) 48 hours old. The date/time field was populated with a UNIX_TIMESTAMP() call.
The problem I have is that Perl's time() function and MySQL's UNIX_TIMESTAMP() function seem to have completely different ideas about what time it is.
Can anybody shed any light on this, maybe I can use MySQL's time functions in my SELECT statement?