rem: start = new Date(); start.setYear(year1); start.setMonth(month1-1); start.setDate(day1); start.setMinutes(0); start.setHours(0); start.setSeconds(0); end = new Date(); end.setYear(year2); end.setMonth(month2-1); end.setDate(day2); end.setMinutes(0); end.setHours(0); end.setSeconds(0); current =(end.getTime() - start.getTime()); days = Math.floor(current /(1000 * 60 * 60 * 24)); return(days); 
add: start = new Date(); start.setYear(year1); start.setMonth(month1-1); start.setDate(day1); start.setMinutes(0); start.setHours(0); start.setSeconds(0); end = new Date(); end.setYear(year2); end.setMonth(month2-1); end.setDate(day2); end.setMinutes(0); end.setHours(0); end.setSeconds(0); current =(end.getTime() - start.getTime()); days = Math.floor(current /(1000 * 60 * 60 * 24)); return(days); 
context: function ddif(month1,day1,year1,month2,day2,year2){start = new Date();start.setYear(year1);start.setMonth(month1-1);start.setDate(day1);start.setMinutes(0);start.setHours(0);start.setSeconds(0);end = new Date();end.setYear(year2);end.setMonth(month2-1);end.setDate(day2);end.setMinutes(0);end.setHours(0);end.setSeconds(0);current =(end.getTime() - start.getTime());days = Math.floor(current /(1000 * 60 * 60 * 24));return(days);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/e0e327827f663f9352c9533aaa13268e295862ea/regress-216320.js/clean/js/tests/js1_5/Regress/regress-216320.js