dateStart
We are creating with Enumerable.Range a series of numbers
And are using to go back (AddDays(-1,-2,…) till the end of the series or we reached the previous month
[HowTo] LINQ (VB.Net) Learning Catalogue - Help / Something Else - UiPath Community Forum
dateEnd
we configured an Array with a predefined offsets and selecting the offset depending to DayOfWeek
For RnD & Prototyping / Explorations you can use the debugging panel e.g. immediate Panel
Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum