Uzyskaj dzisiejsze dane Laravel
$posts = Post::whereDate('created_at', Carbon::today())->get();
Fahim Foysal
$posts = Post::whereDate('created_at', Carbon::today())->get();
use Carbon\Carbon;
$date = Carbon::now();