Nevermind, I just found: "Note that while the startMin is inclusive, startMax is exclusive, so specifying a startMax of '2007-08-01' will include those events up until 2007-07-31 11:59:59PM."
On Jul 23, 11:09 pm, behrk2 <[email protected]> wrote: > Hey everyone, > > I know that you can retrieve events for a specified date range, but > how can I retrieve events for one specified date (a single day)? > > I tried setting both setStartMin() and setStartMax to the same date, > but that doesn't work. It seems that there has to be at least one day > in between Min and Max. > > Here is the code I am using: > > $startDate='2009-07-23'; > $endDate='2009-07-23'; > > $gdataCal = new Zend_Gdata_Calendar($client); > $query = $gdataCal->newEventQuery(); > $query->setUser('default'); > $query->setVisibility('private'); > $query->setProjection('full'); > $query->setOrderby('starttime'); > $query->setStartMin($startDate); > $query->setStartMax($endDate); > $eventFeed = $gdataCal->getCalendarEventFeed($query); > > Any ideas? Thanks... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
