Hi,
I'm trying to setup a perl script that will grab results that are older (or newer) than the current time.
This gives a syntax error, but weirdly - using > doesn't seem to:
The value stored in the table needs to be in the yyyy-mm-dd hh:mm:ss format, but I'm not sure why the < isn't working right?
TIA
Andy
I'm trying to setup a perl script that will grab results that are older (or newer) than the current time.
Code:
SELECT * FROM Links WHERE expiredate2 < '2012-01-10 02:04:39'
This gives a syntax error, but weirdly - using > doesn't seem to:
Code:
SELECT * FROM glinks_Links WHERE expiredate2 > '2012-01-10 02:04:39'
The value stored in the table needs to be in the yyyy-mm-dd hh:mm:ss format, but I'm not sure why the < isn't working right?
TIA
Andy