AnsweredAssumed Answered

Calc No. of Weekdays in Date Range

Question asked by Putmaniac on Feb 8, 2010
Latest reply on Sep 20, 2011 by theta


Calc No. of Weekdays in Date Range


I would like to write a script that will identify the number of Weekdays (e.g. Sundays, Wednesdays, etc.) within a given date range.  For example, the User identifies a start date of January 1, 2010, and and end date of February 1, 2010 and has selected "Tuesday"; the script should produce the number of Tuesdays within the date range, or, in this case, 4.


Any suggestions?