Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
public int NumberOfWorkDays(DateTime start, DateTime end)
{
var days = 0;
var current = start;
while(current <= end)
{
if(current.DayOfWeek == DayOfWeek.Saturday || current.DayOfWeek == DayOfWeek.Sunday) continue;
days++;
}
return days;
}