MySQL Extract Day ab Datum führend Null
DATE_FORMAT(field_name,'%Y-%m-%d')
Matteoweb
DATE_FORMAT(field_name,'%Y-%m-%d')