Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Performing a date difference that also subtracts weekends 1

Status
Not open for further replies.

WildWest

Programmer
Apr 2, 2002
111
0
0
US
Does anyone have a good method for performing a date difference that also subtracts weekends. I need to be able to calculate the number of business days it takes to complete a specific task. I have a start date and an end date.
 
If you are using CF 5 or MX then you can use this function from cflib.org:

Weekdays(date1, date2)

If you don't have CF 5, then this code should help you code a Weekday count custom tag: - tleish
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top