What is the meaning of Good_day?

A somewhat formal greeting generally used between sunrise and sunset.

A dismissal; sometimes used to express annoyance.

Source: wiktionary.org