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.
' Coded not TESTED
Dim dtStart, dtOutDate, noBusinessDays
dtStart=Date 'get system date
dtOutDate=Request.Form("your_input_date")
noBusinessDays=datediff(d, dtStart, dtOutDate)-(datediff(ww, dtStart, dtOutDate)*2)
'calculate hours as needed
'Number of days excluding..
' The +1 because you are including the first day.
' For example 21st - 21st = 1day
WorkingDays: IIf(Weekday(StartDate) > Weekday(EndDate),1+Int((EndDate-StartDate)/7),Int((EndDate-StartDate)/7))*5 + Weekday(EndDate) - Weekday(StartDate) +1