如何創建使用iCal中的每個每月的第一個週三的定期約會爲每個月的第一個星期三定期約會,請參考下面的iCal文件如何創建使用的iCal
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 9.0 MIMEDIR//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20150909T130000
DTSTAMP:20150909T053424Z
RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=WE;BYSETPOS=1
UID:[email protected]
Location: Test
DESCRIPTION:Test
LAST-MODIFIED:20150909T053424Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY: - test service
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
下面代碼工作適用 - 從2015年11月4日至2015年12月6日,從上午11:00至下午12:00,每隔1個月的第一個週日發生。
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 9.0 MIMEDIR//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20150910T110000
DTSTAMP:20150910T071744Z
RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=SU;BYSETPOS=1;UNTIL=20151210T120000
EXDATE:20151004T110000, 20151101T110000, 20151206T110000
UID:[email protected]
Location:Test
DESCRIPTION:Test
LAST-MODIFIED:20150910T071744Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY: test service
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
但此代碼爲每週一不工作
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 9.0 MIMEDIR//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20150910T080000
DTSTAMP:20150910T075935Z
RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=MO;BYSETPOS=1;UNTIL=20151210T090000
UID:[email protected]
Location:Test
DESCRIPTION:Test
LAST-MODIFIED:20150910T075935Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY: test service
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
我看不錯。你面臨什麼問題?您可能想嘗試: RRULE:FREQ = MONTHLY; INTERVAL = 1; BYDAY = 1WE'這是比較常見的。 – Evert
當我打開文件時,它說「ical文件不是有效的互聯網日曆文件」 – viveik10
然後Outlook有一個錯誤。 – Evert