Open jarofgreen opened 10 years ago
http://www.kanzaki.com/docs/ical/rrule.html
All examples assume the Eastern United States time zone.
Every other month on the 1st and last Sunday of the month for 10 occurrences:
DTSTART;TZID=US-Eastern:19970907T090000 RRULE:FREQ=MONTHLY;INTERVAL=2;COUNT=10;BYDAY=1SU,-1SU
==> (1997 9:00 AM EDT)September 7,28 (1997 9:00 AM EST)November 2,30 (1998 9:00 AM EST)January 4,25;March 1,29 (1998 9:00 AM EDT)May 3,31
Just noticed this example is from an old RFC that has now been preceded by RFC 5545; check it's still valid!
http://www.kanzaki.com/docs/ical/rrule.html
All examples assume the Eastern United States time zone.
Every other month on the 1st and last Sunday of the month for 10 occurrences:
DTSTART;TZID=US-Eastern:19970907T090000 RRULE:FREQ=MONTHLY;INTERVAL=2;COUNT=10;BYDAY=1SU,-1SU
==> (1997 9:00 AM EDT)September 7,28 (1997 9:00 AM EST)November 2,30 (1998 9:00 AM EST)January 4,25;March 1,29 (1998 9:00 AM EDT)May 3,31