Rule of thumb is 4 hours, but it all depends on yourself how you wake up, if you eat/drink, use the toilet, get yourself up and moving, the sooner you do all that, the sooner you’ll be allowed to go.
My admission was 9am and discharged at 7:45pm. I would have been discharged at 6pm but nobody could get my drains out so hence it got delayed xx