The story is part of Geoffrey Chaucer's *The Canterbury Tales*, a collection of stories told by a group of pilgrims traveling to Canterbury.
While the story doesn't specify a precise year, it's generally assumed to be set within the 14th century when Chaucer was alive and writing.