Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
my source file has DOB column which is Integer datatype
Eg: 20210103 (YYYYMMDD) format
using tMap the same column I would like to get in output table as Date format (YYYYMMDD).
How to convert Integer to Date format value?
First you need to parse 20210103 to String (if you are using Integer)
Then, use TalendDate.parseDate to parse it to date.
*it will return "null" if using String.valueOf(<value>) , if the value is empty.