Maybe worth mentioning that this function doesn't take bank holidays into consideration.