1
I’m running the function srtftime()
with the parameter %A
, however the dates are returning without the "-fair", only Monday, Tuesday, Wednesday, etc.
Someone’s had this problem before?
setlocale( LC_ALL, 'pt_BR.utf-8', 'pt_BR', 'Portuguese_Brazil');
date_default_timezone_set('America/Sao_Paulo');
echo strftime('%A, %d de %B de %Y', strtotime('today'));
I did a test with this code and returned
quinta-feira, 06 de julho de 2017
has how to play it in ideone or other online php interpreter to get the doubt?– rray
Idone always returns in English.
– João Felipe Brandão Roman
Here also worked well. Are you testing where? local or online?
– Isac
I am running on my PHP 5.3.3 production web server
– João Felipe Brandão Roman