Films based on the theatrical play Hamlet (c. 1599-1601) by William Shakespeare. The play is in turn an adaptation of the legend of Amleth, as depicted in the Gesta Danorum by Saxo Grammaticus.