There really is no "one size fits all" answer to "how long will recovery take"? It will totally depend on things like your...
* physical fitness
* other comorbidities/health issues
* genetics and your specific anatomy
* compliance with instructions
* quality of abovementioned instructions
* how well the surgery went
Having said all that though, the instructions I was given were rather generic-looking and included...
"Heavy work and strenuous exercise should be avoided for 4 weeks, as this could cause some bleeding, for example:
lifting shopping bags, laundry baskets, suitcases.
gardening and mowing the lawn
Bike and horse riding should be avoided for 6 weeks."
It then goes on to say you should walk as much as you feel able to to avoid DVTs and also wear anti-embolic stockings for 4 weeks (+ Dalteparin injections).
Ideally, in addition to generic instructions, each person would get some tailored advice from their care team.
The surgeon had warned me about "no heavy lifting for 4 weeks because of the risk of hernia", which would require surgery to fix. The thought of having to go in for "another bloody operation" was enough to keep me compliant. So even after four weeks I was very careful and only built up gradually. The thing I found the most difficult was not being able to cycle for 6 weeks. I built up to several miles a day of walking, but got thoroughly bored of that. Even tried a short "walk-run" after 4 weeks, but my calf muscles refused to talk to me for several days after that (everything else was fine though).
Some people might be "almost fine again" after 6 weeks. I was. Some might still be struggling after 6 months. It just depends on circumstances.