The Tragedy of Hamlet , Prince of Denmark is a play by William Shakespeare .
The Tragical History of Hamlet , Prince of Denmark , or more simply Hamlet , is a tragedy by William Shakespeare , believed to have been written between 1599 and 1601 .