Hi Group,
I am trying to figure out how to use the 'toIso8601' method from the
class google.gdata.DateTime.

I have some code borrowed from the Google API example like:

      startJSDate = startDateTime.getDate();
      var dateString = (startJSDate.getMonth() + 1) + "/" +
startJSDate.getDate();

which produces a date like 25/12

1.  I do not know how to get the year part for 25/12/(09)
2.  I would also like to know how to put the date into ISO 8601 format
e.g. '2009-12-10T00:00:00.000+13:00', hopefully modifying the code
snippet above.

Thanks
KIM

--

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