Scheduling a monthly event “Every Nth Weekday” using RFC 5545 recurrence rule

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-05 07:34:34

You are nearly there. What you need is to set the index for the day, RFC5545 says:

Each BYDAY value can also be preceded by a positive (+n) or negative (-n) integer. If present, this indicates the nth occurrence of a specific day within the MONTHLY or YEARLY "RRULE".

for which RFC5545 later gives an example

Monthly on the first Friday for 10 occurrences:

   DTSTART;TZID=America/New_York:19970905T090000
   RRULE:FREQ=MONTHLY;COUNT=10;BYDAY=1FR

so for you the rule has to be:

RRULE:FREQ=MONTHLY;BYDAY=2SU

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!