Reputation: 2275
How would I return all rows that are not from today? Im running a query on results returned from this. each row has a mysql timestamp. thanks.
Upvotes: 3
Views: 6337
Reputation: 50982
select something from table where DATE(unix_time) <> DATE(NOW())
<> does mean != (does not equal)
Upvotes: 0
Reputation: 527548
select * from your_table where DATE(timestamp_field) <> DATE(NOW())
Upvotes: 10