Depends on the duration of your event and their time zones. An event
that started at noon yesterday and ended at 1:00am today would be
first in a returned query for events today. Differences in time zones
could have similar effects.

Perhaps you could supply a full set of results.

Ray

On Fri, Mar 13, 2009 at 6:49 AM, RMD <[email protected]> wrote:
>
> I have a function returning the events for today only and I want to
> order them by start time.
>
> When I use the following in my query:
>     $query->setOrderby('starttime');
>     $query->setsortOrder('ascending');
>
> I get this order:
>     12:00pm, 6:00am, 9:00am, 2:30pm  -- 12:00 pm should be between
> 9:00am and 2:30 right?
>
>
>
> When just using $query->setOrderby('starttime'); and no sortOrder I
> get the following:
> 2:30pm, 9:00am, 6:00am, 12:00pm
>
> Thanks for any ideas.
>
> Robert
> >
>

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