select date_format(nome_campo_datetime,"%d-%m-%Y %h:%i:%s") from tabella