RE: setting the date in a simple calendar

Unfortunatly the solution you provided the same results as I have been getting… I still have 3 calendars for the month of May. I tried your solution which was the following:



There are no public methods to do that. But you can try to use the following approach:



miniPastCal = new dhtmlxCalendarObject(‘mini_cal_past’);

miniPastCal.setDate (new Date(0));

miniPastCal.date.setMonth((new Date()).getMonth()-1);

miniPastCal.date.setFullYear((new Date()).getFullYear());

miniPastCal.draw();



miniNextCal = new dhtmlxCalendarObject(‘mini_cal_next’);

miniNextCal.setDate (new Date(0));

miniNextCal.date.setMonth((new Date()).getMonth()+1);

miniNextCal.date.setFullYear((new Date()).getFullYear());

miniNextCal.draw();





Any ideas where I go from here?



Thanks,



Jen

Please, check attached sample - it demonstrates the soultion provided in the previous answer
1242115028.zip (70.5 KB)