Hi!
I'm stuck with this kind of problem. How did you resolve this? What
you mean with proper dateTime format?
my code right now is this:
$optEvent = array('timeMax' => '2012-01-18T00:00:00');
$events = $calendarService->events->listEvents($idCalendar,
$optEvent);
Thanks in advance,
Best Regards.
--
SP
On 4 Dic 2011, 00:34, Cherrot Luo <
ad...@cherrot.com> wrote:
> Hi, all!
> I'm a newbie here and recently I'm a little confused using Google Calendar
> APIs.
> I try to use this:
> $eventsParam = array("timeMin" => "20111203T000000", "timeMax" =>
> "20111204T000000");
> $events = $service->events->listEvents('primary', $eventsParam);
>
> But it returns error:
> PHP Fatal error: Uncaught exception 'apiServiceException' with message
> 'Error calling GEThttps://
www.googleapis.com/calendar/v3/calendars/primary/events?timeM...