Hi,

The time representations shown in the sample are in the format of RFC 3339
timestamp.  Basically it takes this format -

[year]T[time]-[offset]

Where year is hyphen separated year, time is the military-formatted time (0
- 23 hours), and offset is the timezone offset relative the GMT.  So in the
example of 2008-05-05T09:00:00.000-08:00, this string represents May 5th,
2008 9am Pacific timezone.  Notice that Pacific timezone is minus 8 hours
from GMT (minus 7 during daylight saving).

For more information on RFC 3339 format, please go to -

http://www.ietf.org/rfc/rfc3339.txt

The reason they don't show up correctly on your calendar is probably because
you are on a different timezone and the offset for pacific timezone right
now is -7 instead of -8 because of the we are in daylight saving period.  If
you adjust the GMT offset of these date time strings you should be able to
see them displayed correctly on your calendar.

Hope it helps,
Austin


On Tue, Apr 29, 2008 at 10:29 PM, Pat <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I was try to generate events to my calendar using the Calendar API.
> The format shown by the interactive samples have the timing in the
> following formats;
>
>  var startTime =
> google.gdata.DateTime.fromIso8601("2008-05-05T09:00:00.000-08:00");
>  var endTime =
> google.gdata.DateTime.fromIso8601("2008-05-05T10:00:00.000-08:00");
>
> Using this format, the events get generated at randoms times in my
> calendar. I am unable to decipher what does this format mean and how
> does it calculate the actual time ??
>
> Can someone guide me in this matter ?
>
> -Pat.
> >
>

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