dhtmlxcalendar - how to add 1 day to current day

I would like to set the start date of the calendar to be always 1 day after the system time (i.e. tomorrow) .

startDate = new Date();

mCal.setSensitive(startDate, new Date(“01/01/2500”));



How can this be done?


the possible solution is:


var cdate = new Date();


mCal.setSensitive(new Date(cdate.getFullYear(),cdate.getMonth(),cdate.getDate()+1), null);