All Forums >> [Scripting] >> WSH & Client Side VBScript >> How do find date difference for only business days? Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Hi members, I have a field on my page where user can enter a date. I want to compare the user entered date with the current date and want to find if date difference is greater than 10 business days. How do I find this difference in terms of business days using vbscript? Is there a function that can do that for me? Thanks everyone for your help
here is some code to show (off) the DateDiff() function and a way to count 'business days' (== not Sunday or Saturday). It would be more difficult/'expensive' to check for holidays.