Fetching details from the dictionary...

good evening
「今晩は」と隣人に挨拶して家に入った。
I greeted my neighbor with 'good evening' and entered the house.
お客様がいらしたので「今晩は」と言った。
A customer arrived so I said 'good evening.'
夕方会った友人に「今晩は」と声をかけた。
I greeted a friend I met in the evening with 'good evening.'