Very new to UI Path - trying to replace current date with the prior day date but how do I get 2/1/2020 to be 1/31/2020? This is replace the date in an application calendar so I need to be able to replace the numbers in this format (MM/dd/yyyy). Thanks.
@bamitchell05 You can try below code
Assign str = "2020-02-01"
Assign str = CDate(str).AddDays(-1).ToString("MM/dd/yyyy ")
Studio or StudioX?
Using Studio