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

Reply via email to