If you are omitting the time, you should also omit the timezone info.

Ray

On Tue, Nov 18, 2008 at 1:00 AM, Abhinav Asthana <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I have been trying to create all-day events through the GData library
> in the Zend Framework but can't seem to get the date format right. The
> documentation says that I need to omit the time. I am using the
> following code:
>
> $gCalDate = $kd->toString('YYYY-MM-dd');
> $tzOffset = "+05";
> $when->startTime = "{$gCalDate}{$tzOffset}:30";
> $when->endTime = "{$gCalDate}{$tzOffset}:30";
> $event->when = array($when);
>
> This doesn't seem to be working.
> Please help.
>
> Thanks,
> Abhinav
>
> >
>

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