Works in German: ,Guten Tag‘ is a common greeting when meeting.
It used to be used as the ‘good day’ parting in English. But that’s a long time ago.
Still, in English it isn’t very common anymore either, if I’m not mistaken.
"What a lot of things you do use Good morning for!" said Gandalf. "Now you mean that you want to get rid of me, and that it won't be good till I move off.”