Converting date to string and Integer to String in TMAP

One Star

Converting date to string and Integer to String in TMAP

Hi,
Could you some one advise on Converting date to string and Integer to String in TMAP.
This conversion should happen only in Tmap but not with tconvertype ...
Thanks,
Moderator

Re: Converting date to string and Integer to String in TMAP

Hi,
You can use method String.valueOf()in tMap to convert  Integer to String andTalendDate.formatDate("yyyy-MM-dd",myDate) to convert date to string.
Please take a look at my screenshots.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.