Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Make iCal events happen on the last day of the month' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make iCal events happen on the last day of the month
Authored by: Tom Robinson on Oct 01, '04 04:04:07PM

I don't know if this is what you based your hint on, but it seems iCal uses RFC 2445 for its .ics files (which explains why they have DOS line endings and don't use XML).

The negative number 'trick' is an officially documented part of the spec:

The BYMONTHDAY rule part specifies a COMMA character (ASCII decimal 44) separated list of days of the month. Valid values are 1 to 31 or-31 to -1. For example, -10 represents the tenth to the last day of the month.

There's some more interesting examples under 4.8.5.4 though I haven't tried them.

Cheers



[ Reply to This | # ]