Hamlet, the play voted Shakespeare's greatest in our survey of more than 300 actors, writers, directors and producers, is thought to have been written between 1599 and 1601, and the four-and-a-half hour epic beat King Lear and the lighter offering of A Midsummer's Night's Dream to the top spot