For DD-MM-YYYY here is a simple workaround to manage string and dates:
insert the date into the string via DD-MMM-YYYY for example 01-11-2017 -> 01-Nov-2017
U can use the FORMAT(date, "dd-mmm-yyyy") to input dates into a string from the spread sheet.
Later, when you output it from a string, it will not confuse the days and months.