Note that there are some explanatory texts on larger screens.

plurals
  1. POI'm having a problem when I try to use the RRULE property
    text
    copied!<p>The following code works perfectly fine for an appointment that has no re-occurance. By works fine, I mean when I send an email using this code, it shows up on the outlook calendar just fine, in the right time slot, on the right date. The server is in the Central Time Zone, and end users are in various time zones.</p> <pre><code> Const VCAL_FILE = "BEGIN:VCALENDAR" &amp; vbCrLf &amp; "METHOD:PUBLISH" &amp; vbCrLf &amp; "PRODID:Microsoft CDO for Microsoft Exchange" &amp; vbCrLf &amp; "VERSION:2.0" &amp; vbCrLf &amp; "BEGIN:VTIMEZONE" &amp; vbCrLf &amp; "TZID:(GMT-06.00) Central Time (US &amp; Canada)" &amp; vbCrLf &amp; "X-MICROSOFT-CDO-TZID:11" &amp; vbCrLf &amp; "BEGIN:STANDARD" &amp; vbCrLf &amp; "DTSTART:16010101T020000" &amp; vbCrLf &amp; "TZOFFSETFROM:-0500" &amp; vbCrLf &amp; "TZOFFSETTO:-0600" &amp; vbCrLf &amp; "RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=11;BYDAY=1SU" &amp; vbCrLf &amp; "END:STANDARD" &amp; vbCrLf &amp; "BEGIN:DAYLIGHT" &amp; vbCrLf &amp; "DTSTART:16010101T020000" &amp; vbCrLf &amp; "TZOFFSETFROM:-0600" &amp; vbCrLf &amp; "TZOFFSETTO:-0500" &amp; vbCrLf &amp; "RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=2SU" &amp; vbCrLf &amp; "END:DAYLIGHT" &amp; vbCrLf &amp; "END:VTIMEZONE" &amp; vbCrLf &amp; "BEGIN:VEVENT" &amp; vbCrLf &amp; "DTSTAMP:{8}" &amp; vbCrLf &amp; "DTSTART:{0}" &amp; vbCrLf &amp; "DTEND:{1}" &amp; vbCrLf &amp; "DESCRIPTION:{6}\N" &amp; vbCrLf &amp; "SUMMARY:{7}" &amp; vbCrLf &amp; "UID:{5}" &amp; vbCrLf &amp; "ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=FALSE;CN=""{9}"":MAILTO:{9}" &amp; vbCrLf &amp; "ACTION;RSVP=FALSE;CN=""{4}"":MAILTO:{4}" &amp; vbCrLf &amp; "LOCATION:{2}" &amp; vbCrLf &amp; "SEQUENCE:1" &amp; vbCrLf &amp; "PRIORITY:5" &amp; vbCrLf &amp; "CLASS:" &amp; vbCrLf &amp; "CREATED:{8}" &amp; vbCrLf &amp; "LAST-MODIFIED:{8}" &amp; vbCrLf &amp; "STATUS:CONFIRMED" &amp; vbCrLf &amp; "TRANSP:OPAQUE" &amp; vbCrLf &amp; "X-MICROSOFT-CDO-BUSYSTATUS:FREE" &amp; vbCrLf &amp; "X-MICROSOFT-CDO-INSTTYPE:0" &amp; vbCrLf &amp; "X-MICROSOFT-CDO-INTENDEDSTATUS:FREE" &amp; vbCrLf &amp; "X-MICROSOFT-CDO-ALLDAYEVENT:FALSE" &amp; vbCrLf &amp; "X-MICROSOFT-CDO-IMPORTANCE:1" &amp; vbCrLf &amp; "X-MICROSOFT-CDO-OWNERAPPTID:-1" &amp; vbCrLf &amp; "X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:{8}" &amp; vbCrLf &amp; "X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:{8}" &amp; vbCrLf &amp; "BEGIN:VALARM" &amp; vbCrLf &amp; "ACTION:DISPLAY" &amp; vbCrLf &amp; "DESCRIPTION:REMINDER" &amp; vbCrLf &amp; "TRIGGER;RELATED=START:-PT00H15M00S" &amp; vbCrLf &amp; "END:VALARM" &amp; vbCrLf &amp; "END:VEVENT" &amp; vbCrLf &amp; "END:VCALENDAR" &amp; vbCrLf </code></pre> <p>However, when I add the following line</p> <pre><code> "RRULE:{10}" &amp; vbCrLf &amp; </code></pre> <p>to the VEVENT section, the TZOFFSETFROM and TZOFFSETTO seem to be ignored. In other words, when the event is added to my outlook calendar, the time is off. </p> <p>So, my question is when the RRULE property is used, why do my calendar events not show up in the right timeslot when imported into Outlook, but when the RRULE property is not used, the time is perfect?</p> <p>Any thoughts or ideas are greatly appreciated.</p> <p>Forgot to mention, "RRULE:{10}" would actually be something like "RRULE:FREQ=YEARLY".</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload