PHP, Google Calendar & Simplepie

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
22burntice
Forum Newbie
Posts: 1
Joined: Sun Apr 04, 2010 9:04 am
Location: London, UK

PHP, Google Calendar & Simplepie

Post 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.
Post Reply