11. First parse the created_at field as Carbon object.
2 $createdAt = Carbon::parse($item['created_at']);
3
42.Then you can use
5 $suborder['payment_date'] = $createdAt->format('M d Y');
1$now = Carbon::now();
2echo $now; // 2020-03-22 17:45:58
3echo "\n";
4$today = Carbon::today();
5echo $today; // 2020-03-22 00:00:00
6echo "\n";
7$tomorrow = Carbon::tomorrow('Europe/London');
8echo $tomorrow; // 2020-03-23 00:00:00
9echo "\n";
10$yesterday = Carbon::yesterday();
11echo $yesterday; // 2020-03-21 00:00:00