Answers for "laravel eloquent today"

PHP
0

where('created_at', '=', date('Y-m-d'));

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

where('created_at', '=', date('Y-m-d'));

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

Browse Popular Code Answers by Language