Answers for "find where date and time in laravel query"

PHP
0

where date laravel

$q->whereDate('created_at', '=', date('Y-m-d'));
Posted by: Guest on July-11-2020
1

get data based on date in laravel

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

Code answers related to "find where date and time in laravel query"

Browse Popular Code Answers by Language