Modify context variables

One Star

Modify context variables

Hi,
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

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

shong
----------------------------------------------------------
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 http://talendforge.org/forum/viewtopic.php?pid=12164#p12164
It talks about doing date math. Read through it and view the photos.