codice:
SELECT *, DATE_FORMAT(data,"%d-%m-%Y") as data_formata
FROM tabella 
WHERE dayofmonth(data) = 22