"Nice to meet you" would usually be said when you are first introduced to someone. Or, if you didn't say "nice to meet you" at the beginning of the conversation, you might say "(it was ) nice meeting you" at the end of the conversation.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.