And well, if this way of coding start/end times is not working well, why
don't you do something like :
// a php timestamp is a Unix timestamp, that is to say the number of seconds
since 01/01/1970.
// substracting from the "now" timestamp [time() function] 13 days x 24
hours x 60 minutes x 60 secondes stands for the date 13 days ago.
$start = time() - 3600*24*13;
Also, I think you should convert the Start and End timestamp to a RFC3339
date string (the date format expected by the Gdata API) :
$query->setStartMin(date('c', $start));
--
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://code.google.com/apis/calendar/community/forum.html