var increase=0; function IncreaseDays() { var toTime=new Date(); increase = increase + 1; toTime.setDate(toTime.getDate() + increase); if (toTime.getDay() == 0 || toTime.getDay() == 6) { increase = increase + 3; toTime.setDate(toTime.getDate() + increase); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)