when did the custom of dating arise