codice: struct tm t; tx=mktime(&t); strftime(buff, 50, "%Y-%m-%d %H:%M:%S", localtime(&tx)); Questa stampa sempre 0-0-0...
struct tm t; tx=mktime(&t); strftime(buff, 50, "%Y-%m-%d %H:%M:%S", localtime(&tx));
Regole del Forum