1. A polite greeting or farewell used in the evening or at night, formally addressing someone as 'you'
As I was leaving the restaurant, I said good night to you
Ao sair do restaurante, disse boa noite a você
2. A courteous way to say goodbye when departing in the evening hours
Good night to you, see you tomorrow
Boa noite a você, até amanhã