Hi there,
I'm building a system where users can add events and those events are then placed onto a calendar.
The system working fine apart from when an event is spread accross a clock change. e.g. 26 October when the clocks go back an hour.
In this instance, the event just stops before the day and won't go over it.
Currently i have this bit of script to manage the number of days going into the calendar, im guessing the problem is here:
$from_date = strtotime($courses['date_from']);
$to_date = strtotime($courses['date_to']);
for ($i = $from_date;$i <= $to_date; $i = $i + 86400)
Any ideas how i can get around this?
Cheers, James