Salve. Qualcuno mi spiega perchè questo codice:
restituisca come output:Codice PHP:
$day = date ("d", mktime ($utente->getDatanascita()));
$month = date ("m", mktime ($utente->getDatanascita()));
$year = date ("Y", mktime ($utente->getDatanascita()));
echo $utente->getDatanascita() . "
$day
$month
$year";
Invece di:codice:1989-08-18 00:00:00 16 07 2009
?codice:1989-08-18 00:00:00 18 08 1989
![]()