dhtmlXCalendar


I don’t understand clealyr :slight_smile:



here is my code:

  1. function waranty_last(date) {
      document.getElementById('warantylast').value = cal_warantylast.getFormatedDate(null,date);
      document.getElementById('cal_warantylast').style.display = 'none';
      dateFrom = new Date(date);
      var nextdate = date.setDate(date.getDate+1);
      document.getElementById('insurance_firstdate').value = cal_jotallasutolso.getFormatedDate(null,nextdate);
      return true;}

i would like this output if warantylast=2008.07.13


                                   insurance_firstdate = 2008.07.14


 


thanks

Please check attached sample

1216378513.zip (21.2 KB)