There's two problems here. Say you have an appointment that is "every
tuesday for four weeks, starting on the 1st august 2006".
Firstly, you have to decode the blob of data that encodes "every
tuesday". It sounds like Dmitry's adding that to Redemption, or in the
meantime the best info is here:
http://www.geocities.com/cainrandom/dev/MAPIRecurrence.html
Secondly, once your code knows that the recurrence is every tuesday,
you need to write some date manipulation code to say "is this day a
tuesday, and is it in the period of time covered by the recurrence".
That's pretty easy -- it took me an afternoon to write code cover all of
the possibilities, the only awkward ones are things like "third tuesday
of the month" where you have to do more counting-of-days, or "seventh
work-week day", etc.
-- dan