# Dayweave Recurrence Rule (RRULE) Expander > List the dates of an iCalendar RRULE in any time zone, with daylight saving and exceptions. Expands a recurrence rule from a calendar (RRULE, RFC 5545) — daily, weekly, monthly or yearly with INTERVAL, COUNT, UNTIL, BYDAY (also “last Friday”), BYMONTH, BYMONTHDAY and BYSETPOS — from a local start time in an IANA time zone, skips exception dates and lists every occurrence in local time and UTC with the offset, plus the rule in plain English. Part of usefulweb.app (https://usefulweb.app/). Part of [Dayweave](https://dayweave.usefulweb.app/) (ownerApp: dayweave). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://dayweaverecurrenceexpander.usefulweb.app/ (interactive tool at https://dayweaverecurrenceexpander.usefulweb.app/tool) - JSON API: POST https://dayweaverecurrenceexpander.usefulweb.app/api/v1/calculate with a JSON object of inputs (schema: https://dayweaverecurrenceexpander.usefulweb.app/api/v1/tool) - OpenAPI: https://dayweaverecurrenceexpander.usefulweb.app/openapi.json - MCP (Streamable HTTP): https://dayweaverecurrenceexpander.usefulweb.app/mcp - tool `dayweave_recurrence_expander` ## Inputs - rrule (text): Rule (RRULE) - Example: FREQ=WEEKLY;BYDAY=MO,WE;UNTIL=20270331 or FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1 (last working day). - start (text): First start (YYYY-MM-DD HH:MM, local time) - duration (text): Duration - timeZone (text): Time zone (IANA) - exdates (textarea): Skip these starts (one per line, YYYY-MM-DD or YYYY-MM-DD HH:MM) - from (text): Show from (YYYY-MM-DD, empty = first start) - limit (number): Show at most ## Method - The rule is expanded on local calendar days (RFC 5545 §3.3.10): the period of FREQ × INTERVAL is enumerated, then BYMONTH, BYMONTHDAY and BYDAY (ordinals like 1MO or −1FR count within the month, or the year for yearly rules) filter days, BYSETPOS picks positions inside each period, COUNT and UNTIL end the series. The first start always counts as the first occurrence. - Every occurrence keeps the same local wall-clock time in the chosen zone, so its UTC time moves when daylight saving starts or ends. A local time that does not exist (spring-forward gap) moves forward by the gap; an ambiguous one (fall-back) takes the first of the two moments. - UNTIL with a time ending in Z is a UTC moment; without Z (or date-only, then the whole day) it is read in the series’ time zone. Exception dates remove occurrences with exactly that local start. - Not supported: BYHOUR/BYMINUTE/BYSECOND, BYWEEKNO, BYYEARDAY and sub-daily frequencies; at most 20 years after the first start are expanded.