In this post, we will see how to resolve Get Events for Day in Another Calendar
Question:
I’m trying to search for an event in a different calendar other than the default calendar. No matter what I try, I keep getting a “.getEventsForDay is not a function” error.I’ve tried:
Best Answer:
The first line in your script returns an array, so you need to specify which item in your next line. It should look like this:If you have better answer, please add a comment about this, thank you!
Source: Stackoverflow.com