Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I am getting errors when I am trying to map a string field containing datetime data(from csv) from source to the final table using tmap.
I attach the screen shots below of the same.
I am using talend.dateparse function for getting the desired result but its showing unparseable date. The time stamp is not getting parsed and is throwing runtime error.
Please help resolve this issue.
Here is an example of converting a string to a date
TalendDate.formatDate("yyyy-MM-dd",TalendDate.parseDate("yyyyMMdd",row1.Created_Date))
The string in the example is row1.Created_Date. Modify the example with your formatting.