If it's straightforward, you may well be home within a week. They'll probably want you to have a bowel movement before they discharge you, so they can see everything's working as it should, so it may depend on how quickly your digestive system gets going. Other factors like your general state of health also come into it. Complications delay things, obviously. You can always ring the hospital department or your surgeon's secretary and see if they can find out something more specific for you.