In my table, I have a field called created_at with data type timestamp and values are like 2016-12-30 00:30:10 and so on.
In my query, I get all those by a simple select * statement.
How can I get only the dates where it is equal to today's date?
I am using a framework called makoframework and the query builder is this:
$data = $query->table('customers')
->where('created_at', '=', //date today)
->all();
Any help would be much appreciated.