How to replace dateTime of excel to variable uipath

excel
activities
variable

#1

Hi everyone,

my case is the next,

I have a excel where in the cell B7 store datetime, but when I use activity Read cell the output only support String so, i need convert to String when I execute my program in the console show me " Invoke workflow file: Read Cell : StringConverter cannot convert from System.DateTime."

thanks you


#2

Hey @elvbis

Who told you that it only supports String.?

You can use System.Datetime as well. use that variable type to assign it to output property.

Regards…!!
Aksh


#4

thank you.