@Peter
I am not sure that your formula is correct, I tested it an I don't always return the expected.
I did a different one, even if it looks much complex:
=IFERROR(IF(CELL("prefix",A1)="'",DAY(A1)&"/"&MONTH(A1)&"/"&YEAR(A1),MONTH(A1)&"/"&DAY(A1)&"/"&YEAR(A1)),"")