Salve a tutti.
Sto scrivendo un semplice script che scrive in un db mysql alcuni dati tra cui una data di nascita. Il mio problema è che l'utente inserisce la data in formato europeo (ad es. 31-12-2004) e mysql la vuole invece in formato americano (es. 12-31-2004).Come faccio ad operare questa conversione visto che se viene iserita in formato europeo mysql nel database restituisce 0000-00-00