Answers for "laravel date query check date"

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 "laravel date query check date"

Browse Popular Code Answers by Language