1

I am setting a local:

            setlocale(LC_ALL,"es_ES");                          

Then I am generating a date:

echo strftime("%A %d de %B del %Y", strtotime($screening->timestamp));

But the day of the week, and the month show up in English. Output:

Wednesday, 27 de April del 2016

How can I get the date in Spanish?

user1435853
  • 633
  • 2
  • 8
  • 18

0 Answers0