Reputation: 15
In my table, in "created_at" column:
2023-01-03 08:43:40
In my view I am using this code to extract the date:
<span>
{{ date("F", strtotime($item->created_at)) }} de
{{ date("Y", strtotime($item->created_at)) }}
</span>
The result shows:
JANUARY de 2023
Is there a way to extract this month in Brazilian Portuguese?
To show like this:
JANEIRO de 2023
Upvotes: 0
Views: 27