Nowadays people everywhere will, after a conversation, invite you to 'enjoy the rest of your day'. When on holiday on one occasion I was urged to 'enjoy the rest of your holiday'.
What is the purpose of such expressions which seem to me to be there simply as a way of ending conversations?
Is there a name for such things?