Question : carbon date from format
Answered by : naveen-s
Carbon::createFromFormat('Y-m-d H:i:s', $request->date)->format('d-m-Y')
Source : | Last Update : Sun, 03 May 20
Question : laravel carbon human readable
Answered by : xanthous-xenomorph-uohoc2s5s8v0
$comment->created_at->diffForHumans();
Source : | Last Update : Sat, 16 May 20
Question : format seconds to human readable carbon
Answered by : iqbal
\Carbon\CarbonInterval::seconds($timeInSecond)->cascade()->forHumans();
Source : | Last Update : Sun, 03 Oct 21