Joey, Can you explain what you mean by "It is not inclusive, not really?" I'm starting to questions whether it is or not as well, it seems that I am getting events from dates that I shouldn't be getting...
Thanks On Jul 24, 2:21 am, Joey Kippen <[email protected]> wrote: > It is not inclusive, not really. I found this out the hard way. Technically, > it was really easy but still. > > On Thu, Jul 23, 2009 at 8:48 PM, behrk2 <[email protected]> wrote: > > > 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 -~----------~----~----~----~------~----~------~--~---
