Hi,
That's interesting 'cause I try what you have done and I can retrieve
events without the start-max using the JS client library.
Since I cannot reproduce your problem, I am not sure why your code
only retrieve events when start-max is specified. Let us know if you
have other information. Thanks
Austin
On Mon, Mar 31, 2008 at 10:54 AM, CreativeLlama <[EMAIL PROTECTED]> wrote:
>
> I'm trying to get events for only a certain time period from my
> calendar events feed, using Javascript and PHP. The events don't show
> up in my webpage if I use the piece of PHP below. If I hard code
> startMaxNow, the code works just fine. When I view the source code
> via the web browser the date is formatted correctly. Any suggestions?
>
> var startMaxNow = '<?php echo date('c',time());?>';
> var startMin =
> google.gdata.DateTime.fromIso8601('2007-01-01T00:00:00.000-00:00');
> var startMax = google.gdata.DateTime.fromIso8601(startMaxNow);
> query2.setMinimumStartTime(startMin);
> query2.setMaximumStartTime(startMax);
>
> 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
-~----------~----~----~----~------~----~------~--~---