One Star

Modify context variables

I have a job that initialize context with a file. That's ok.
One of these varaibles is a date (FileDate yyyy_MM_dd)
After some process, i want to add one day to this date and store it in the file.
How can i do that ?
Thansk for your help
Community Manager

Re: Modify context variables

Extract all the data in the file, modify the date, then output data to a new file instead of the old file.
Best regards

Talend | Data Agility for Modern Business
One Star

Re: Modify context variables

And with witch component do you modify the context variable ?
One Star

Re: Modify context variables

Have a look at this post
It talks about doing date math. Read through it and view the photos.