There might be situations where we might be asked to pass time as TimeSpan rather than in Milliseconds.
Let us see how to do that…
Implementation using UiPath :
Let us convert 3000 Milliseconds to TimeSpan i.e. 00:00:03
Drag a “Delay” activity into the design panel
Type the above code with 3000 in it into the “Duration” property of Delay activity.
Click here to download the Source Code…
Hope it has helped you…