Answers for "get complete name of day in laravel"

PHP
1

get current month record in laravel

User::whereMonth('created_at', date('m'))
->whereYear('created_at', date('Y'))
->get(['name','created_at']);
Posted by: Guest on February-09-2021
1

get data based on date in laravel

PrescriptionTbl::whereDate('created_at', date('Y-m-d'))->get();
Posted by: Guest on September-21-2020

Browse Popular Code Answers by Language