laravel get data by date code example Example: get data based on date in laravel PrescriptionTbl::whereDate('created_at', date('Y-m-d'))->get();