Hi all,
I need to type yesterday’s date in a SAP field. I would also like that when it’s monday, the robot considers from previous friday to previous sunday.
I tried adding this form: DateTime.Now.AddDays(-1).ToString(“ddMMyyyyy”)
Hi,
Thank you all.
How do I type the date format with dots, for example 12.08.2021?
These are my system settings:
Will this Now.AddDays({-2,-3,-1,-1,-1,-1,-1}(Now.DayOfWeek)).ToString(“ddMMyyyyy”) solve also the weekend issue?
As mentioned, I would like that on mondays, it types, on the 1st field, the previous friday and on the 2nd field the previous sunday.
For example, if today was monday 09/08/2021, it would need to type this date interval:
Using Dates Example.zip (4.3 KB)
Here is a subset of a UiPath BOT I wrote that shows assigning Dates in different ways and getting the current, past or next Month, it also shows getting the output as numeric , abbeviation and full name, including day of the week with a Case statement to process day of week named activities.