In portuguese, the "day" refers to the weather, the sky etc... and today refer to this day in time. So if I say "hoje o dia está ótimo" means something like "today the sky is beautiful" or "the weather is great"... I don't think there is a direct association. It is a very poetic language.