cukup gunakan CURDATE() . misalnya SELECT * FROM tableName WHERE DATE(s_timestamp) = CURDATE() DATE() CURDATE()