$today = Carbon::now()->format('Y-m-d'); //yyyy-mm-dd etc
$posts = Post::whereDate('created_at', Carbon::today())->get();
Carbon::now()->format('Y-m-d')
$today = Carbon::createFromFormat('d/m/Y H:i:s', '19/02/2019 00:00:00');
$day = $today->subDays(1)->format('d/m/Y');
$formateddate = Carbon::parse($date)->format('M d Y');
1. First parse the created_at field as Carbon object.
$createdAt = Carbon::parse($item['created_at']);
2.Then you can use
$suborder['payment_date'] = $createdAt->format('M d Y');
{{ CarbonCarbon::parse($created_at)->isToday() }} // true or false