How to replace dateTime of excel to variable uipath

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

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.


1 Like

thank you.