Depending on the type of work you do, you may be able to go back to work after surgery on the same day.  If you have to be on your feet a lot at work, you may need to be off of them more than usual.