The exact date of the writing of the carol "The Twelve Days of Christmas" is unknown, but it is thought to have been composed in England in the 18th century. The song was first published in 1780 in a collection of nursery rhymes, and has since become a popular holiday song around the world.