Good day has 2 different meanings across 2 categories:
Noun · Phrase
a farewell remark
"they said their good-byes"
A somewhat formal greeting generally used between sunrise and sunset.