Exclude weekends from date select

I have an application where contractors request off-hours staff.  They must enter a job date at least five BUSINESS days out.  Using similiar to the below script, I can get it to validate 5 days out, but that doesn't exclude weekends.   Thanks ahead of time for your advice.

<cfif getList.jobDate EQ #DateAdd("d", +2, thisDate)# OR
getList.jobDate EQ #DateAdd("d", +1, thisDate)# OR
getList.jobDate EQ #DateAdd("d", +0, thisDate)#>
*48 Hr
kbtudorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

_agx_Commented:
Take a look at the BusinessDaysAdd(date, number) function at cflib.org
http://cflib.org/udf.cfm?ID=513
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kbtudorAuthor Commented:
Excellent.  I sorted through Livedocs and couldn't find anything.  I didn't even think of CFIB.  This is exactly what I need - and FAST too!  Thanks again.
0
_agx_Commented:
You are welcome.  Keep cflib.org bookmarked.  It probably has a function for just about any common task you'll ever need to perform ;-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.