mce
(Maic Ceriani)
April 27, 2022, 7:59am
1
I want that the robot type into the calendar field a specific date indicated in an Excel.
When using activity “type into” It does the job but incorrectly. instead of putting the correct date 28/04/1980 he put 04/28/19800000000 (see attached for the explanation).
Issue Type into wrong date.docx (312.3 KB)
Do you know what’s going wrong?
Srini84
(Srinivas Kadamati)
April 27, 2022, 11:15am
2
@mce
You can use as below in TypeInto
Convert.ToDateTime(row.item("Date of Birth").ToString)("dd/MM/yyyy")
Hope this may help you
Thanks
mce
(Maic Ceriani)
April 27, 2022, 11:45am
3
Hi Srini84,
I’ve tried your solution but I’ve got the following compile error(s) encountered processing expression message :
Expression is not an array or a method, and cannot have an argument list.
Srini84
(Srinivas Kadamati)
April 27, 2022, 12:21pm
4
@mce
Oh, sorry, can you try below
Convert.ToDateTime(row.item(“Date of Birth”).ToString).ToString(“dd/MM/yyyy”)
Hope this may help you
Thanks
system
(system)
Closed
April 30, 2022, 12:22pm
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.