When are you leaving work for maternity leave?

Desiree • Just delivered a healthy baby boy 8/4/16. Using Glow to prevent pregnancy until my husband and I are ready to TTC again
I know this has been posted but I can't find the thread. I'm currently 33w6d and I'm exhausted. I was going to work til the end of July when I'll be 39 weeks but I'm terrified I won't make it that long. I'm thinking of an alternative. When are you leaving work?