Salve sto avendo un problema con strftime:
la data me la da giusta:Codice PHP:
setlocale(LC_TIME, "it_IT", "ita_ITA");
$data=explode("-",mysql_result($QueryReg,0,1));
echo htmlentities(strftime("%A %d %B %Y", mktime(0, 0, 0, $data[1], $data[2], $data[0])));
mercoledì 29 febbraio 2012
ma mi da anche questo errore:
Notice: A non well formed numeric value encountered in