You are probably in a GMT+7 time zone, but are requesting the events in gmt
(the default).
Here's a post that mentions how to request events in a different time zone:
http://www.mail-archive.com/[email protected]/msg08188.html

Ray

On Wed, Aug 19, 2009 at 4:57 PM, GreatBigBore <[email protected]> wrote:

>
> I use the following code to get all of the events in a particular date
> range:
>
> $gdataCal = new Zend_Gdata_Calendar($client);
> $query = $gdataCal->newEventQuery();
> $query->setUser($whichCalendar . '%40group.calendar.google.com');
> $query->setVisibility('private');
> $query->setProjection('full');
> $query->setOrderby('starttime');
> $query->setSortOrder('ascending');
> $query->setStartMin(date('Y-m-d', $startTS));
> $query->setStartMax(date('Y-m-d', $endTS));     // Upper bound is
> exclusive
> $eventFeed = $gdataCal->getCalendarEventFeed($query);
>
> I get a week's worth of events this way. I've discovered that
> everything works fine unless there is a recurring event that starts at
> 5pm or afterward on the last day of the range I specify. If the event
> starts at 5pm or after, it doesn't show up in my event feed. Has
> anyone else ever seen this? Figured out how to get such events to show
> up?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to