Dressing up every day makes you feel great. I recommend it to everyone.
I had a job where dress clothes were expected and I miss it dearly.
My point is that the concept of work has changed so much yet we're still bound by the 9-5 rules. Core hours during which teammates must all be available makes sense, but absent that, it's all just arbitrary and cultural.