These times are the same:

2009-01-06T18:30:00.000-06:00 and 2009-01-07T00:30:00.000Z

but they are the same time in different time zones.

If you want them to look the same in Google Calendar, you need to set
your Google Calendar to display times in the -06:00 time zone instead
of displaying them in the universal (Z) time zone. This is under the
General Settings in the Google Calendar UI.

On the other problem of all-day non-recurring events, how are you
creating them? All all-day event for the 14th of January should have a
startTime of 2008-01-14 and an endTime of 2008-01-15.

Ray



On Tue, Jan 13, 2009 at 8:49 PM, [email protected]
<[email protected]> wrote:
>
> Hello friends,
>  Please help. whenever i create a new entry in the calendar using
>  DateTime startTime = DateTime.parseDateTime
> ("2009-01-06T18:30:00.000-06:00");
>  When eventTimes = new When();
>  eventTimes.setStartTime(startTime);
>  myEntry.addTime(eventTimes);
>
> I get date and time set in google calendar is different, when i logged
> in the google calendar, means it's changed to
> 2009-01-07T00:30:00.000Z. Here date is 2009-01-07 insead of
> 2009-01-06. Time is also changed. why it is so and how to fix it? Here
> i can see the 000Z. What is that and how to get my time in
> "2009-01-06T18:30:00.000-06:00" format.
>
> Another problem is whenever i create All Day non recurring event, only
> Date is stored not timezone and whenever i try to retrive it, i get
> back date with local timezone. and now question is how to store
> timezone as well and retrieve it ?
>
> 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