I'm trying to publish iCal .ics files onto the web using
PHP iCalendar. It works really well for reading the .ics files. I can publish them fine if I create a .ics file in iCal, but I am trying to figure out a way to create a .ics file through a web interface. I opened a .ics file in a text editor, but I can't figure out how some of the text is generated.
Here is a sample of some of the text in a .ics file:
BEGIN:VEVENT
SEQUENCE:13
UID:9D07AEFE-140B-11D7-B01F-0003930FDA24
DTSTAMP:20021220T110806Z
SUMMARY:Monday
DTSTART;TZID=US/Pacific:20021216T090000
DTEND;TZID=US/Pacific:20021216T180000
RRULE:FREQ=WEEKLY;UNTIL=20030117T075959;INTERVAL=1 ;BYDAY=MO
END:VEVENT
I'm not sure where SEQUENCE comes from, how the UID is generated, and the various time stamp's seem wrong to me.
"DTSTAMP:20021220T112833Z" This event was actually created at 3:28 AM on my machine. I know the 28 is correct, but there is 11 instead of 03 like I would expect.
I am also not sure about the recurrence rule line at the end. This portion is confusing to me:
"INTERVAL=1;BYDAY=MO"
Thanks for any help anyone can provide.