As you can see from the screenshots all dependencies are same.
If the framework and code is same, why is it failing in UiPath ?
I cannot figure out why is it happening.
If any clues please let me know.
I know about the ParseExact method. But my concern is why the Convert class not able to do so here. I mean the convert class in UiPath and Visual Studio are same right ? Then what’s making the code to crash in UiPath ?
The screenshots I have posted are from the same device. The UiPath screenshot attached has clearly mentioned the way I am trying to parse. If you see at the bottom right, the .NET version is 4.6.1 and the time format is also the same. Coming to the other two screenshots of visual studio, there also it is mentioned the version of .NET used for executing the code. The syntax and .NET versions are clearly mentioned if you take a closer look and I am very much sure that in Visual Studio