Getting today's events.

Greetings,
I’m trying to get the events defined for a single day. Calling getEvents is returning a zero length array for day that I clearly have events defined for (they show up in the calendar). Any ideas?

var today = new Date();
var myEvents = scheduler.getEvents( today, today );

Thank you,
–Jason

Be sure that you are calling this method after load command really finished ( loading is async. so you need to wait the loading end event before executing any data related operations )

I realized that as I was thinking about this last nite. I’m sure that’s the problem. Thank you for your reply.

–Jason