Dear
I am trying to change the date format while importing dates in Integration Manager
my dates in the source file are DD/MM/YYYY and i want to change them to MM/DD/YYYY
i tried the below script
CurrentField = SourceFields(month("FA1.Acquisition Date")) + SourceFields(day("FA1.Acquisition Date")) + SourceFields(year("FA1.Acquisition Date"))
but i am getting
DOC 1 ERROR: Error Executing Script 'Acquisition Date' Line 1: - Type mismatch: '[string: "FA1.Acquisition Date"]'
i also tried
CurrentField = SourceFields(month("FA1.Acquisition Date")) +"/"+ SourceFields(day("FA1.Acquisition Date")) +"/"+ SourceFields(year("FA1.Acquisition Date"))
i think GP is understanding them as string , any idea's how i can reach MM/DD/YYYY
*This post is locked for comments