For breastfeeding

How’s it go when it’s time to go back to work and you need to pump during the day? Are jobs pretty good at allowing you to take time to do so?