StringToDate(IncomingCol, "%yyyy-%mm-%dd")
As balajisr implies in his example - you cannot include dashes in your date mask when your source data is not, in fact, delimited with dashes as well.
Code: Select all
StringToDate(IncomingCol,"%yyyy%mm%dd")