This code works and returns 148 records from my DB:
$current_date = '2020-08-19';
DataTables::create(
array(
"dataSource"=>$report->dataStore("tbl")
->filter(function($row){
return ($row["Date"] == '2020-08-19');
})
));
When replace the date within the filter function with $current_date, it returns zero records.
What is the right way to do this?