6
In PHP, through the function strftime
, I can return the name of the day of the week or month, in the language installed in the operating system.
Example:
echo strftime("%d %B", time());
Upshot:
16 January
I need to write the full date in C# in Portuguese and I would like to know if you can do the same in PHP.
Won’t that be based on the language of the system only? I did a test on ideone here and returned to me in English.
– user28595
I’ll edit the answer, I really didn’t notice this detail
– Wictor Chaves
Edited showing in Portuguese, thanks @Articunol :)
– Wictor Chaves
Agora ta exibindo em português no ideone :)
– user28595