This will be an Expression/Connection String for a Flat File Connection Manager.
Need it in this format COMPANY20150402.txt except the formula needs to incorporate the DATEADD("D", -2, Getdate())
"COMPANY" + (DT_STR,4,1252) DatePart("yyyy",getdate()) +
Right("0" + (DT_STR,4,1252) DatePart("m",getdate()),2) +
Right("0" + (DT_STR,4,1252) DatePart("d",getdate()),2) +".txt"
Where do I add the DATEADD part? and be syntactically correct?
TIA
Harry