Hi,
How can we print dates on mondays between the given start date and end date?
Please provide the code for it.
For Example:
Input:
Start Date: 24/May/2021
End Date: 25 June/2021
output:
31/May/2021
07/June/2021
14/June/2021
21/June/2021
Discussion posts and replies are publicly visible
I also like the weekday() function for comparing days of the week as integers.
a!forEach( items: ri!startDate+enumerate(ri!endDate-ri!startDate+1), expression: if(weekday(fv!item)=2,fv!item,{}) )