Free Support Forum - aspose.com

Pattern help

Can you help with the programmatic logic to implement the pattern

'1st Thursday of every 9th Month' ?

Hi,

Use the following pattern for this purpose:

DTSTART:20000101T000000
RRULE:FREQ=MONTHLY;COUNT=10;BYMONTH=9;BYDAY=TH;BYSETPOS=1

Need one more help please.

What is the pattern for -

1st Weekday for the 2nd Month

1st Weekend for the 2nd Month

Thanks a lot.

Anand.

Hi,

1st Weekday for the 2nd Month:

DTSTART:20000101T000000
RRULE:FREQ=MONTHLY;COUNT=10;BYMONTH=2;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=1

1st Weekend for the 2nd Month:

DTSTART:20000101T000000
RRULE:FREQ=MONTHLY;COUNT=10;BYMONTH=2;BYDAY=SA,SU;BYSETPOS=1