Question: how to respond when someone says they had a bad day?
Answer: Free yourself from expectation prison. ... 
Acknowledge that we've heard them and confirm that, yes, they've had a horrible day.
Remind them that it will get better.
Point out the positive in the situation, or in their life.
Try to take their mind off of it by suggesting a diversion.
Ask them what you can do to help.