TimeDiff Calculation

Hey Community!

Trying to calculate time diff, I have 2 Excel col ( Start Time ) ( End time ) that has different time like that :

02/17/2023 14:15:41 02/17/2023 14:15:51

I’m inside a for each row loop and doing this as follows:

for each

var

calc

But getting this Error:

issue

Appreciate any help!
Thnx

@Tarek_Kariish

Can you first use a log message and print row("StartTime").ToString and similarly end time and check the format of the date

cheers

Hi @Tarek_Kariish,

If you get value is DateTime value only you can use below workflow.

Workflow
image

Sample Input and Output
image

Thanks,

Thank you very much, works Perfectly!

1 Like

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