Hi Folks,
I'm trying to create a collection which has all Mondays date in the current financial year. (April 1 2023, to March 31 2024). I found the below code which returns all Mondays in a calendar year:
ClearCollect(weeksList, ForAll(Sequence(52,-26,1) As DD, Text(DateAdd(DateAdd(Today(),-Weekday(Today(),Monday)+1),7 * DD.Value ,Days),DateTimeFormat.ShortDate) ) );
Can some one help me to modify this code such that it will return all Mondays between two dates?
Thanks


Report
All responses (
Answers (