Add column with today date

Hello,

I had a datatable:

A B C D E
1 2 3 4 5

i want to add a column in the left of the datatable: and put on it the date of today

There are a few ways to do this. You can add the column to index 0 via this method:

You can also just use the ‘build data table’ activity to determine the headers you want (Date, A, B, C, D, E). Assuming you use this method, you would just run a for each on your current data table and add the rows to the new table while assigning date.today to the first column. Does that help?

1 Like

HI @abdel

I guess this link would be a good solution for you…

Let know if that works for you…

Just to note, when asking about problems, please don’t post them under the UiPath Jobs category… You can use either Dev Rookies or Advanced category :slight_smile:

1 Like