Answers for "get same date data in laravel without using created_at"

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

Code answers related to "get same date data in laravel without using created_at"

Browse Popular Code Answers by Language