Hello,
i have a generic value that is extracted form an excel file containing(00:00:01) as value
i use read cell to read the value , and then i want to use it in a delay activity.
any help how to convert generic value into a timeSpan Please!
2 Likes
You don’t need to convert the generic value to timespan.
Use assign activity and assign the generic value to timespan @teyssir1. No issues at all
1 Like
We can directly mention that in the delay activity as input, as Generic value will take any type
Or if we want or convert to TimeSpan
Then
TimeSpan.Parse(yourvariableName.Tostring)
Cheers @teyssir1
1 Like
i have to get that value from an excel , not to hardcode it
1 Like
Hi @teyssir1
You need to convert the generic value to Time Span… I have shown it in the screenshot below
1 Like
thank you !
this is working
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.