Hi all, just trying to do a DATE_SUB function in a sql call. My question is, is there a problem using timestamps like 20040501010101 ?
WHERE $sometimestamp = DATE_SUB($starting_timestamp, INTERVAL 8 DAY)
The two variables are timestamps like above and I simply want it to pull an item from the mysql database when it finds a timestamp that is 8 days earlier than the starting timestamp. Any ideas?