Answers for "laravel select record where date gte to current date eloquent"

PHP
1

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

$q->whereDay('created_at', '=', date('d'));
$q->whereMonth('created_at', '=', date('m'));
$q->whereYear('created_at', '=', date('Y'));
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

Code answers related to "laravel select record where date gte to current date eloquent"

Browse Popular Code Answers by Language