Get Calendar events between two dates

偶尔善良 提交于 2019-12-04 02:23:04

Ok i got the answer. The new parameters in Google API V3 are timeMin & timeMax to filter events between 2 dates.

Just add these two parameters to the query before getting the event feed:

// Start date from where to get the events
$query->setStartMin('2013-01-01');
// End date
$query->setStartMax('2013-03-20');

For further reference see: Retrieve events occuring between a date range

Hope this helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!