I\'m using Laravel Framework.
I want all of the rows for this day. This is what I tried:
DB::table(\'users\')->where(\'created_at\', \'>=\', date(
Simply:
DB::table('users')->where('created_at', '>=', date('Y-m-d'). ' 00:00:00')
When getting all rows for this day(the time should be 00:00:00), so make sure to set the date condition to current date plus 00:00:00 i.e.
date('Y-m-d'). ' 00:00:00'