How set time

How to set time parametrs: hh:mm: ss?
Now I have hh:mm: ss: ms

Hey @RPA3

Can you explain your scenario a little bit? I don’t understand what you are trying to do here…

I measure the time spent on action. I have now shows: 00:00:23.8343832
I need only 00:00:23

I think this post will help you to get the required output…

Let know if this works for you.

Happy holidays



It’s doesn’t work
Assign: Input string was not in a correct format.

If I set:DateTimeVariable.ToString(“hh”)
It work. But DateTimeVariable.ToString(“hh:mm:ss”) don’t work

Can you please upload the entire error?

Hey @RPA3

Try below code