swimming after carpal tunnel surgery

I'm having Carpal tunnel surgery in a couple of weeks, and I'm wondered if any other swimmers have had this surgery and how long did it take you back to training?