[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Current date in italian language?
As I got no reply to my previous e-mail, I'm trying with a slightly
Is there any OS-supported way to print the current date in Italian
I tried with the following code but with no result:
clock = time(0);
tm = localtime( &clock );
setlocale( LC_TIME, "it" );
strftime( buff, sizeof(buff), "%c", tm );
Federico Giannici wrote:
> Is setlocale() supposed to work?
> I used setlocale(LC_TIME, "it") but then the strftime() strings remained
> in english...
> If setlocale() is supposed to work, what could I miss?