Modified the GetDocysByDay call. Still needs the function to call from logic layer.