Hello, I am trying to create a recurring flow to happen on the third Friday of every month.
For example, in April 2021 the third Friday of the month is 16 April; in May 2021, the third Friday of the month is 21 May.
I know I can make the flow happen on every Friday, but how can I know if the week is the third week?
Is there a way to do this?
Solved! Go to Solution.
Hello @annoying ,
you can check within the trigger condition if the 'dd' part of the date is between 15 and 21 (the possible dates for a Friday in the third week), and run the flow only if it's true.
@greaterOrEquals(int(utcNow('dd')), 15)
@lessOrEquals(int(utcNow('dd')), 21)
Hello @annoying ,
you can check within the trigger condition if the 'dd' part of the date is between 15 and 21 (the possible dates for a Friday in the third week), and run the flow only if it's true.
@greaterOrEquals(int(utcNow('dd')), 15)
@lessOrEquals(int(utcNow('dd')), 21)
@tom_riha Thank You! It works.
Would you know how I can get the date of the last Thursday of the month?
User | Count |
---|---|
92 | |
44 | |
21 | |
18 | |
16 |
User | Count |
---|---|
137 | |
49 | |
42 | |
36 | |
28 |