Answers for "carbon format date with day name"

PHP
9

carbon date from format

Carbon::createFromFormat('Y-m-d H:i:s', $request->date)->format('d-m-Y')
Posted by: Guest on April-26-2020
0

carbon get day name from date

Carbon::tomorrow()->format('l');
Posted by: Guest on July-01-2021

Browse Popular Code Answers by Language