edit.codice:select * from tabella where from_unixtime(campo_timestamp,"%Y-%m-%d") = curdate()
Per quelli di ieri
codice:select * from tabella where from_unixtime(campo_timestamp,"%Y-%m-%d") = curdate() - interval 1 day
edit.codice:select * from tabella where from_unixtime(campo_timestamp,"%Y-%m-%d") = curdate()
Per quelli di ieri
codice:select * from tabella where from_unixtime(campo_timestamp,"%Y-%m-%d") = curdate() - interval 1 day