how to match given date and current date in laravel return in year code example
Example: get data based on date in laravel
PrescriptionTbl::whereDate('created_at', date('Y-m-d'))->get();
PrescriptionTbl::whereDate('created_at', date('Y-m-d'))->get();