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(
Use whereDate
whereDate
$users = DB::table('users') ->whereDate('created_at', '2016-12-31') ->get();
other functions you may use are: whereDate / whereMonth / whereDay / whereYear / whereTime
whereDate / whereMonth / whereDay / whereYear / whereTime