There's a popular script on various websites that allows one to easily export Google Calendar events to a Google Spreadsheet. It works fine ... except that it does not work with recurring events.
Here's the crux of the code:
var mycal = "[email protected]";
var cal = CalendarApp.getCalendarById(mycal);
var events = cal.getEvents(new Date(startDate), new Date(endDate));
Then one just needs to iterate through the members of 'events'. The problem appears to be that recurring events are defined in another way which 'getEvents' does not understand. Thus a query of a date range containing only recurring events finds nothing.
I'm wondering if anyone has written some code that would properly query for recurring events?
Robert
Serge, you're correct, it does handle recurring deliveries. My failure was to include the start time and end time in addition to the date. Once I did that, via a simple string concatenation, then all worked properly.
Thank you for your feedback!
Robert