Me:; if you say good morning, afternoon or evening as a greeting, technically good night could be used as a greeting by describing a good night, although most people would just say good evening.
But what happens if its the middle of the night? what do you say then? other people: