When to Say It

You can say how today but if someone having a bad day is it good to ask? In some cases yes other no, in any case it your choose.