Value of type 'string' can not be converted to 'system.timespan'

Hi All,

anyone can help how can i solve this issue?

value of type ‘string’ can not be converted to ‘system.timespan’

thanks for the help

@mhrez I guess the value is stored into a string. As the input accepts only Timespan value, it shows an issue.

Use this TimeSpan.Parse(StringValue)

1 Like

Hi @Sugumar8785 i would like to read the delay (hh:mm:ss) from the excel cell and then to use it on argument with timespan type.

can you help how it would be?


Check below example :point_down:

This will convert your string to TimeSpan… Than you can use it as needed :slight_smile: