If you're getting your events from a file, FullCalendar posts the start and end dates for the current week view. Take a look at this page from the official documentation: http://arshaw.com/fullcalendar/docs/event_data/events_json_feed/
If you call FullCalendar like this:
$('#calendar').fullCalendar({
events: '/myfeed.php'
});
The URL it will use includes a query string with the start and end UNIX timestamps:
/myfeed.php?start=1262332800&end=1265011200&_=1263178646
Note: The _
parameter is automatically inserted to prevent the browser from caching the result.
If you're generating you events by function, it similiarly provides the start and end times, but they are JavaScript Date objects. See this page from the official documentation: http://arshaw.com/fullcalendar/docs/event_data/events_function/
$('#calendar').fullCalendar({
events: function(start, end, callback) {
//Manipulate the start and end objects
}
});
If you're just supplying an array of event dates (as per http://arshaw.com/fullcalendar/docs/event_data/events_array/), the start and end dates are not accessible. You will need to use one of the two methods above.