[eluser]Unknown[/eluser]
I'm trying to display in a viewer dates in spanish language, My server is windows 7 so I use this:
Code:
setlocale(LC_ALL, '');
and for display I'm usin this:
Code:
echo date("d F Y", strtotime($Contrato->calcular_a_partir));
I expect to obtain "3 de enero 2013"
But the result is:
"03 January 2013"
Does anyone have an idea why?