I have had several minor cleanups and my shoulder rebuilt. Age matters, your ability to do physical therapy both before and after your surgery, the extent of damage done does matter. The younger and better health you are will help you heal faster. I did a lot of range of motion and strength condition before the surgery and it hurt like a B.... but the better your muscle condition the better your post surgery recovery. If you have let your shoulder get weak from lack of use and pain with motion your post surgery recovery has a lot further to go. Doing the physical therapy is the only way to get range of motion and strength back. Fail to push the therapy and you will never get as much recovery.
As to time, I was back at work far faster than your doctor predicted for you and a lot of that was due to doing all the pre-surgery work. Everyone is different. I'd figure six month to almost full recovery but the little things will take longer. I could reach the top shelf quickly but rotating my hand when the arm was fully extended took more time. I could do a simple reach and grab but turning a screwdriver was later. Again doing the therapy will get you all the way back if there is no structural damage they can not repair.
I have a bone spur in my other shoulder which I am going to have shaved down in a few weeks. I do not intend to miss much work with that. I'll take two to three days off total.