Page 1 of 1

PHP, Google Calendar & Simplepie

Posted: Sun Apr 04, 2010 9:20 am
by 22burntice
Hi,

I've been using the script here http://james.cridland.net/code/google-calendar.html to try and create an upcoming courses section in the main section and in the side bar of this page http://www.how2boilwater.com/dates.php. It should only display upcoming (i.e. future) events and not past ones, and if you look at the feed directly:
http://www.google.com/calendar/feeds/ka ... =starttime

then that seems to be the case - however it continues to show old events as well as future ones.

The time on the server ( as displayed by echo date("F j, Y, g:i a");) matches the timezone set on the calendar...I'm really struggling to fix this and I wondered if any of you kind people had any bright ideas!!

Thanks.