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:
Properties
- StartDate, a date
- Increment, number of hours or days
- IncrementType, hours (1) or days (2)
Method
- Workday (Return: Date)
Please note, this could be improved with an enum or two for the parameters.