Hello Uipath Community,
I really need your help to finalize a condition I try to implement in my project.
I have, on a website, a range with dates as a string format: 2021-11-04 00:38:46 ==> Meaning the associated report was updated on Nov 4th at 00:38am.
I need to build a condition saying that if this string = today’s date, so the robot can click on the associated report.
Can you help me? I guess I will have to extract each part of the string (year-month-day) to recreate a date then compare it to today but I’m a little bit lost about the How.
Seems so easy. Thanks for your quick feedback.
I will be able to put this condition in a loop by replacing the “2021-11-04 00:38:46” by ExtractDataTable.Rows(Line).Item(column).ToString.
Seems to work! Thank you very much.
If I want to compare to yesterday date, can I just replace Today by Today-1 ?