checking condition based on current date and time in laravel 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();