Blackout dates using dhtmlxCalendar

I downloaded the Standard version of dhtmlxCalendar to check it out. I can open your demo file insensitive_days.html and the calendar works just fine. I have the date format set to mm/dd/yyyy and turned off the time and that works fine. however when in my page everything works except the days I want to not be accessible. I’ve posted the code I am using below.

thanks

========================================

The values that you send in calendar must correspond the date format which is %m/%d/%Y in your sample:
myCalendar.setDate(“07/12/2011”);
instead of
myCalendar.setDate(“2011-07-12”);

The approach relates dates in setInsensitiveDays method.

figured it out late last night, thanks…

I currently the calendar in 2 places for 2 different functions on a single page. is there away to apply 2 different sets of blackout dates to a single instance of the engine?