2 Replies Latest reply on Sep 20, 2011 8:05 AM by theta

    Calc No. of Weekdays in Date Range

    Putmaniac

      Title

      Calc No. of Weekdays in Date Range

      Post

      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?