Hi,
I'm using Javascript to query my calendar for events that will occur
over the next 7 days from the current date. I'm using the sample code
from the Google Calendar API site for querying by dates using
Javascript. So I understand about declaring the variables and
creating the query which are provided in the same code.
var startMin = google.gdata.DateTime.fromIso8601
('2008-01-01T00:00:00.000-08:00');
var startMax = google.gdata.DateTime.fromIso8601
('2008-07-01T00:00:00.000-08:00');
query.setMinimumStartTime(startMin);
query.setMaximumStartTime(startMax);
My problem is creating the start min date and time using the current
date and time and calculating the start max date and time (+7 days)
and putting them inot the ISO 8601 format in Javascript. I'm pretty
new to Javascript which is probably why I'm having trouble. Can
someone help me out with this?
Thanks for your help!
Sam
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---