Level 75
You cna do it with format format('F jS, Y') as
$formattedDate = Carbon::parse('2020-06-14')->format('F jS, Y');
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi everyone,
I have a date format (like 2020-06-14) and I want to show June 14th, 2020. How can I easily do that with Laravel Carbon?
Thanks!
For today
{{ now()->format('F jS, Y') }}
If is your $date a carbon instance then
{{ $date->format('F jS, Y') }}
What do you have in your $date variable?
Please or to participate in this conversation.