Hey!
I'm trying to create a simple rule that will give me the date of the next "first Monday of the month" in the format YYYY-MM-DD, I've tried a number of different strings but can't get it to work...
Any suggestions? 🙏😊
Yes, it seems to work, thank you! 🙂
NO my next problem is that it is in english and not in swedish.... 😬
I'm sure someone on this forum has a more streamlined solution, but this seems to work. You can specify whatever format you like - I just used 'dddd dd MM yyyy' so it showed the actual day Monday.
addDays(
startOfMonth(addToTime(utcNow(), 1, 'Month')),
mod(sub(8, mod(dayOfWeek(startOfMonth(addToTime(utcNow(), 1, 'Month'))), 7)), 7),
'dddd dd MMM yyyy'
)
Yes, my bad....
I mean the first monday of next month 🙂
Did you mean the first Monday of next Month?
WarrenBelz
146,743
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,079
Most Valuable Professional