On Feb 21, 12:40 pm, "Lindberg.he" <[email protected]> wrote: > Hello: > > If I want to retrieve the current event in calendar, by using > theSystemtimeas the "query"argument, is there any way to achieve it ? > For example, in calendar there is event : 13:00-14:00 meeting, How can > I retrieve"meeting" event automatically by using currentsystemtime, > such as 13:12. > > Thanks for you help > Yin He
Hi Yin, What you can do is set the start-min query parameter to the current time. That should return all events starting from now onward (including any event that's currently in progress). The first event returned should be the event that's currently in progress, or the next event thereafter. If you really only want the current event, you can also set a start-max query parameter, with value equal to what you set for start-min (the current time). The feed returned for this query will only include events that are currently occurring. -- Trevor Johns --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
