BF for only 6 weeks?

Hi. So I’ll be BF and giving her exclusive Breastmilk in a bottle for 6 weeks until I go back to work.

I’ll be able to BF a little bit like at night time and afternoon with her when I go back to work, but due to the conflict with my work schedule and then picking my kids up the space in between BF is too long. My mom will be watching the baby and obviously she cannot Bf so I have to supplant with formula

Anyways. Is 6 weeks better than nothing ? I feel guilty but it’s not going to work out once I go back to work