Caster,
ocDate means "Occurrence Date". Since events can be ranged or recurring, the ocDate field is used to determine what date the member was looking at when they RSVP'd. That uniquely ties an RSVP to a day of an event. ocDate is always set to midnight GMT of the day the event, or instance of the event, occurs. Normally, the ocDate can be determined by looking at the "day" parameter from the query string, but if the day isn't passed, the code then attempts to get the date by a couple different methods:
- If the event is recurring, it looks at the present date and then goes out up to 365 days looking for a recurrence of the event. The first future date the event recurs on will be used.
- If it is a single day event, then it uses the dateline_from, which is already set to midnight GMT.
- If the event is ranged, then it is set to midnight GMT of the first day of the event.
All of those methods are only used of a specific day is not specified in the query string.
I hope that helps.