People often say "Good night" when they are leaving work -- even if that is 4pm.
"Good evening" at any time of the day or night is always going to sound stuffy and formal. I think it would mostly be used by service people (waiters, call centers, etc.) or when people are meeting for the first time under formal circumstances. The same is true for "Good day."
"Good evening" is also used in "ceremonial" circumstances -- when addressing an audience, for example.
People generally say "Hello" or "Hi."
"Good morning" is heard, especially within the family at breakfast, and on arriving at work. I don't think two friends chatting on the phone would say "Good morning."
"Good night" is used in the family at bedtime (regardless of the hour on the clock), and on leaving work.
Professional entertainers don't always say "good morning." They greet their audience the way an individual would based on the (rough) time of day and the degree of formality. So a great conductor of a world-famous orchestra would say, "Good evening, ladies and gentlemen."
But the lead guitarist in a small club would say "Hey everyone!"