Is my baby constipted?

I have just bought my baby back home after being 2 months in the hospital. Usually in the hospital he would poop about a few times, but yesterday he drank well (breastmilk) but hasn’t pooped yet. But although he is peeing. Is my baby constipated and should I be worried that he hasn’t pooped for a day?