get where created at date in laravel code example Example: laravel where created_at today $posts = Post::whereDate('created_at', Carbon::today())->get();