Codice PHP:
list($giorno$mese$anno) = explode("-"$data);