For example, “Good morning” is generally used from 5:00 a.m. to 12:00 p.m. whereas “Good afternoon” is appropriate for a period from 12:00 p.m. to 6:00 p.m. “Good evening” is often used after 6 p.m. or when the sun goes down. Keep in mind that “Goodnight” is not a salutation.