This return day name of your date
Carbon::tomorrow()->format('l');
Carbon use same format as php date, documentation here.
I want to get the name of the day from the given date.
any builtin function in PHP or laravel "Carbon"
explanation: like Carbon::tomorrow()->format('m-d-Y') this I want to know the day name like monday,tuesday etc
@abdullah_iftikhar Here is lowercase letter L not number 1
Carbon::tomorrow()->format('l');
Please or to participate in this conversation.