Workday Calculation (Class Module)
Class that can be used to calculate target dates, taking into account a date and hours/days of work, compensating for weekends, but not holidays:
- StartDate, a date
- Increment, number of hours or days
- IncrementType, hours (1) or days (2)
- Workday (Return: Date)
Please note, this could be improved with an enum or two for the parameters.