for example from 33 to 36 the month is aug, sep, sep, sep i need to get the working days for that month.

If we're talking about two random weeks, then it's very simple. You only need to account for possible start of the year and end of the year incomplete weeks.Otherwise, any week in between is a full week: 7 days total minus the 2 days week-end.