I think I know what's going on here. What time zone are you in? The
query is based on GMT time, but I'll bet you're on Central, right?

Either you need to adjust the date/time to compensate for time zone or
I think you can specify the timezone offset and let Google's servers
parse it out automatically by adding "-06:00" to the end of both
times. Look at the "Notes" column on this page...

http://code.google.com/apis/calendar/reference.html#Parameters

-Jared

On Feb 19, 1:09 pm, "Jesse Warden" <[EMAIL PROTECTED]> wrote:
> Sure.  For context, when I paste the URL with those dates into the browser,
> unless I modify the end-date to 2007-02-19T02:00:00, I won't get my event
> that occurs at 9:11 pm on the 18th.  You set the above to T01:00:00, and it
> doesn't appear in the XML... maybe it's just late in the day?
>
> Line 93 is the main method in question:
>
> http://www.pastebin.be/6136/
>
> Original source if you wish to view all (trunk):
>
> http://goocal.googlecode.com/svn/trunk/php/com/jxl/goocal/controller/...
>
> Here is an example URL it spits out:
>
> http://www.google.com/calendar/feeds/[removed some id thing
> here]%40group.calendar.google.com/private/full?start-min=2007-02-18T00:00:00&start-max=2007-02-18T23:59:59
>
> If you notice I can change the end date to the 19th at 3:00 am, and I get my
> late entry.  2:00 am, however, doesn't... wtf?
>
> http://www.google.com/calendar/feeds/[removed some id thing
> here]%40group.calendar.google.com/private/full?start-min=2007-02-18T00:00:00&start-max=2007-02-19T03:00:00
>
> On 2/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > The dates look okay. Can you post the entire section of your code that
> > handles the query?
>
> > -Jared
>
> > On Feb 19, 11:47 am, "JesterXL" <[EMAIL PROTECTED]> wrote:
> > > I'm not getting all events on my Calendar for a given day.  I'm
> > > guessing this is because I am incorrectly send the right date syntax.
> > > I'm still learning how these dates are made.
>
> > > Below is a portion of my PHP code that makes a date by hand (string
> > > concatenation).  This particular one is an attempt to get all events
> > > on February 18th, 2007 from 12 am till 11:59 pm (1 second before the
> > > 19th).
>
> > > startDate: start-min=2007-02-18T00:00:00
> > > endDate: start-max=2007-02-18T23:59:59
>
> > > However, it only sends events that occur before 6:00pm.  Anyone spot
> > > what I'm doing wrong?
>
> > > Thanks if you can help!


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