I am trying to use the Flash Calendar Component to display two consecutive months. The current month is the default, and I am trying to set the resCalendar2 to display the following month. No matter what I do, both calendars display the current month.
var cal1 = new Date();
var cal2 = new Date(cal1.getFullYear(), cal1.getMonth()+1, 1)
resCalendar2.setDisplayedMonth(cal2);
I am able to successfully use other methods of this object in the same context, however after several days of trying I have had no success with this one. There seems to be no information on the web or in the documentation either.
Any advise is appreciated.
var cal1 = new Date();
var cal2 = new Date(cal1.getFullYear(), cal1.getMonth()+1, 1)
resCalendar2.setDisplayedMonth(cal2);
I am able to successfully use other methods of this object in the same context, however after several days of trying I have had no success with this one. There seems to be no information on the web or in the documentation either.
Any advise is appreciated.