PHP Carbon Get Hormgestamp
Carbon::now()->timestamp
Friendly Hawk
Carbon::now()->timestamp
\Carbon\Carbon::now()->timestamp
now()->timestamp
now()->unix()
Carbon::createFromTimestamp(1616013398)
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');