I need to insert a specific format in the Name field of a Salesforce object.
Example: Name: F - Check - 19-06-2019 - 30-06-2019.
The first date is the date of today.
The second date is the end of the month date.
In my tMap I used:
- TalendDate.getLastDayOfMonth (TalendDate.addDate (TalendDate.getCurrentDate (), 0, "MM")): for the end-of-month date
- TalendDate.getCurrentDate () for today.
The result is as presented: F - 20190614 - Wed 31 Jul 04:56:40 CDT 2019 - Tue. Jul 23 04:56:40 CDT 2019
Can you help me adapt both dates?
Solved! Go to Solution.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema
Pick up some tips and tricks with Context Variables