Codice PHP:
$ORA_ATTUALE time();
$ORA date('H:i:s Y-m-d'$ORA_ATTUALE);
//
$ANNO_TARGETdate('Y'$ORA);
//
$MESE_TARGETdate('m'$ORA);
//
$GIORNO_ATTUALE date('Y'$ORA);
//
$GIORNO_TARGET $GIORNO_ATTUALE $FINE_D// in questo caso $FINE_D vale 1

// Define your target date here
$targetYear  $ANNO_TARGET;
$targetMonth $MESE_TARGET;
$targetDay   $GIORNO_TARGET
qualcuno sa spiegarmi xke mi restiuisce questo risultato

targetYear : 1970
targetMonth : 1
targetDay: 1971

al posto di
2008
08
19

grazie