Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Calendar events between two dates

How to get all events between two specific dates. For example i only want to get events between 1st of March 2013 & 28th of March 2013.

I am using Google Calendar API v3. While in Google Calendar API v1 there was the facility for search between 2 dates using start-min & start-max. I am wondering what is the replacement for these two parameters in Google Calendar API v3?

like image 226
Khawer Zeshan Avatar asked Mar 20 '13 06:03

Khawer Zeshan


People also ask

How do I fetch events in Google Calendar?

To retrieve calendar IDs call the calendarList. list method. If you want to access the primary calendar of the currently logged in user, use the " primary " keyword. Event identifier.

Does Google Calendar have an API?

Millions of people use Google Calendar to track their events. The Calendar API lets you integrate your app with Google Calendar, creating new ways for you to engage your users.

How do I easily duplicate events in Google Calendar?

Next to the title of your event, locate the 'More Actions' drop down and click on 'Duplicate Event'. Once you have selected 'Duplicate Event', a new event will be created and you will be able to make any necessary adjustments to this event. This is now a new calendar event with the same details as the original.

Can you copy multiple events in Google Calendar?

It's easy to copy Google Calendar events from one calendar to another, and you can even merge them all into one unified schedule. Copying all events from one Google Calendar into another requires you to export the calendar first. Then you can import the calendar file into a separate calendar.


1 Answers

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

like image 87
Khawer Zeshan Avatar answered Sep 30 '22 12:09

Khawer Zeshan