Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Issue in converting String to Date in Data Mapper

I am currently concatenating Start Date and Start Time from input to StartTS in output in Talend Data Mapper but both the field I am taking as String. 

How should I change the datatype in output JSON to Date ??

Inputs needed please..

Labels (1)
2 Replies
manodwhb
Champion II
Champion II

@varmav2 , I suggest you to concatenate the date and time and then covet sting to date using TalendDate.parseDate() function.

Anonymous
Not applicable
Author

Thanks Manohar for your prompt response.

Can you tell me where to concatenate the date and time and then convert string to date using TalendDate.parseDate() function??? How can we achieve this in tHMap???