Modify column values of datatable based on specific condition

Hi everyone.

I am having data in datatable in following format.
1

I need to calculate the difference of every two rows in “Timestamp” column and then write the result in same column as following. The timestamp column is in string format.

2

I need to do this using linq query as the actual data might have thousands of rows.

I shall be very grateful for your help.

2 Likes

Hi @ahmad.sultan,

@ppr can help you here !!

Thanks

1 Like

Hey @ahmad.sultan

Here you go…

nmnithinkrishna__Uipath

PFA - nmnithinkrishna_ConsRowsTimeDiff.zip (8.5 KB)

Hope this helps.

Thanks
#nK

2 Likes

@Nithinkrishna Thank you so much! You’re a lifesaver!

2 Likes

Huge words @ahmad.sultan ! Thank you.

Happy Automation

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.