You can also use "Bom dia" (good day) in the morning, "Boa tarde" (good afternoon) in the afternoon, and "Boa noite" (good evening) in the evening.
You can also use "Bom dia" (good day) in the morning, "Boa tarde" (good afternoon) in the afternoon, and "Boa noite" (good evening) in the evening.