The ConvertEdifactDate() function converts a date value in string format (EDIFACT date value) to a formatted date value. The second parameter specifies the format of the EDIFACT date, i. e. 102, for the short date and 203 for the long date.
ConvertEdifactDate('date as string value')
ConvertEdifactDate('date as string value', 'Date format')
Possible values for date format are:
ConvertEdifactDate('20181010', 102)
returns 2014-12-15 11:00:00
ConvertEdifactDate('201810101438', 203)
returns 2018-10-10T14:38:00