Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
sunbaj
Contributor III
Contributor III

String to Date Conversion and back to String

Hi,

 

I am having a strange problem. My source is a Excel file which has a date field. I read the date field as string as it in 1-Jan-2017 format. Using tMap I convert it into Date and change it to  01-01-2016. Now when I again convert it back to string using tConvertType the month changes to 00. So irrespective of the date the month is defaulted to 00.

 

How do I overcome this issue ?

Labels (2)
1 Reply
abhi90
Creator II
Creator II

HI,
Use Formatdate and parsedate together. It will solve your problem. Just check some old resolved topics of Old Talend Community. U will be able to do it