Dayweave Recurrence Rule (RRULE) Expander
List the dates of an iCalendar RRULE in any time zone, with daylight saving and exceptions.
How it works
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.
- 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.
Sources
Part of Dayweave
-
Dayweave Team planner & time-blocking
Plan your team’s week: calendars, time blocks, workload and tasks from your other apps.
How to use the Dayweave Recurrence Rule (RRULE) Expander
Paste an iCalendar RRULE such as FREQ=MONTHLY;BYDAY=-1FR and see the actual dates and times in any time zone, with skipped dates and the UTC offset of each occurrence.
What it is for
Calendar files describe repeating events with a rule from RFC 5545, for example FREQ=WEEKLY;INTERVAL=2;BYDAY=MO,TH. These rules are compact but hard to check by eye: which day is "the last working day of the month", and does a meeting at 16:00 stay at 16:00 when the clocks change? This expander turns a rule, a start and a time zone into the list of real occurrences, with a plain-English description, the local times, the UTC times and the offset of each one.
It uses the same recurrence engine as the Dayweave app and the Hearth calendar, so the dates match what those apps show.
Worked example
The first example is FREQ=MONTHLY;BYDAY=-1FR;COUNT=6, starting 25 September 2026 at 16:00 in Europe/Berlin. The result: Every month on last Friday, 6 times: 6 occurrences shown, from 2026-09-25 16:00 to 2027-02-26 16:00 (Europe/Berlin). The local time stays 16:00 throughout, but the offset changes from UTC+02:00 in September to UTC+01:00 from October 30 on, so the UTC time moves from 14:00 to 15:00.
The second example is a meeting every other week on Monday and Thursday in New York with one skipped date. It gives 11 occurrences until the end of February; the skipped 21 December is left out. The third example uses BYSETPOS=-1 with all weekdays to find the last working day of each month in Tokyo.
How to read the result
- The description is an English reading of the rule, so you can check that it means what you think.
- Each row shows the number, weekday, local start and end, UTC start and end and the offset.
- If a rule has no end, the list stops after the number of occurrences you ask for and says that it was cut off.
Tips and common mistakes
- Supported parts are FREQ (daily, weekly, monthly, yearly), INTERVAL, COUNT, UNTIL, BYDAY (also with a position such as
2TUor-1FR), BYMONTHDAY, BYMONTH, BYSETPOS and WKST. Rules with hourly frequencies or BYHOUR are refused with a message. - Use either COUNT or UNTIL, not both; the standard forbids it.
UNTIL=20270228includes that day. With a time zone, UNTIL is compared in that zone.- A start time that falls into a clock-change gap (02:30 on the spring change in Europe) moves to the next valid time.
- Skipped dates (EXDATE) can be given as dates or as date and time, one per line.
FAQ
Why does my event appear on a different weekday in UTC?
Late evening or early morning times can cross midnight when converted. The local weekday is the one in the rule.
What if a month has no 31st?
That month is skipped, as the standard says. Use BYMONTHDAY=-1 for the last day of every month.
Can I paste a full RRULE line?
Yes, the RRULE: prefix is accepted and ignored.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://dayweaverecurrenceexpander.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://dayweaverecurrenceexpander.usefulweb.site/mcp· tool namedayweave_recurrence_expander
Example request
curl -s -X POST https://dayweaverecurrenceexpander.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"rrule":"FREQ=MONTHLY;BYDAY=-1FR;COUNT=6","start":"2026-09-25 16:00","timeZone":"Europe/Berlin"}'