Set "today" as default date when init scheduler


I have installed the demo of your scheduler and it works well!

Now, when I initialize the timeline I see a fixed date and when I press “today” I can see the schedules of today. That works but I want to initialize always with today’s date.

Right now I have for example:

scheduler.init('scheduler_here',new Date(2012,8,19),"timeline");

How do I put this on “today”?

Thank you,

1 Like

try this before you call init(): =;


Use following:

scheduler.init('scheduler_here',new Date(),"timeline");

Best regards,

Dear Ilya, great, that works! Thank you, R