The first two and the school run as long as you drop the kids and don't leave the car, or if you have trousers of some sort over them. Have done this often myself.
Hotel breakfast or essential cup of coffee/tea? Pull on leggings instead of PJ bottoms, hoodie, tie hair back, wash face, bob's your uncle.
Staying in someone else's house? Only my Dsis' or mum's. Anywhere else, at least the old reliable leggings, hoodie, hair tied back, face washed, etc.
In the US my DDs always wore fleece PJ bottoms under their elementary school uniforms while outdoors. The winter weather is frigid where we are, and the school was well heated. Tights were unsuitable because they were not warm enough for outdoors, too warm for indoors, and too hard to take off, requiring taking off the footwear too, and needed to be replaced with socks. The fleece PJs were loose and baggy, easy to take off leaving footwear on, and they dried easily, hanging in the locker or cubby if they had got wet. The plaid uniform skirt with multicoloured fleece PJ bottoms underneath was quite a look
but very sensible.