My file is called ... File - 20170101.xlsx
I have the following as a variable
FilePath, data type string, File - 20170101
as a derived column I have
(DT_I8)LEFT(RIGHT(@[User::FilePath],8),4)
I Got this to work, but only gives me part of the values..(only 3 numbers, I need 8)
gives me output of 101.. do I need to save the file name as a different date format? I have tried File - 01012017
I have tried this but it does not work
(DT_I4)LEFT(RIGHT(@[User::FilePath],8),4)
I am trying to get the 20170101, then I was going to add a data conversion to turn it into a date
it does not work..any ideas please