hello,
You are facing a problem that I had before, the problem is that UiPath has a cultureInfo by default that does not comprehend that specific format, meaning that it won’t convert it, the solution is to change the culture info for one that does comprehend it, I know is kinda strange that this is the problem, considerating you wrote InvariantCulture as cultureInfo but I had the same trouble to.
To change the culture simply write an assign with this:
CultureInfo.CurrentCulture = Globalization.CultureInfo.CreateSpecificCulture(“es-ES”)
I wrote the spanish cultureInfo due is one that allows day before month, the French culture is another that allows the same, I hope this helps