panoswj 9年前 请问,我怎么从Eloquent查询当日的所有数据?我试过 $today=Carbon\Carbon::now()->day; $users = User::where('created_at','=',$today); var_dump($today); 无效。