I have a MySql database that contains the date and time in one field in this format:
'2011-01-04 16:32:49'
How can I filter the results based on this datetime so that it only shows results with Today. basically, I want to compare only with the date of part of the field.
Can I do something like this?
Select * from table where timestamp.date() = now().date
source share