PHP Setlocale for Dates doesn't work

Im not able to do a simple setlocale(LC_ALL, 'es_ES'); echo strftime("%A"); It always shows it in English. I'm developing in windows phalcon version x64 VC11 NTS last version. I'm coding from a phalcon generated template with the windows CMD, I'm trying to make that code works on every place(even controllers, views, etc...) but i can just make it... Please help.

edited Sep '15

What does it show in english?

echo strftime("%A"); always shows Friday...

What does it shows in english?

edited Sep '15

On Windows, locales do not use the POSIX format: