var start = new Date($("#startdate").val().split("/").reverse().join(","));
var end = new Date($("#enddate").val().split("/").reverse().join(","));
var weekend_count = 0;
for (i = start.valueOf(); i <= end.valueOf(); i+= 86400000){
var temp = new Date(i);
if (temp.getDay() == 0 || temp.getDay() == 6) {
weekend_count++;
}
}
$("#days").val((end - start) / 86400000 + 1 - weekend_count);
var currentYear = (new Date).getFullYear();
var disabledDays = ["1-1-"+currentYear,"25-12-"+currentYear,"26-12-"+currentYear];
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.